Skip to content

Commit 49c6758

Browse files
committed
stage: init test watch
1 parent 2058f77 commit 49c6758

13 files changed

Lines changed: 831 additions & 678 deletions

File tree

packages/scaffold/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
"fs-extra": "^11.3.0",
8181
"hookable": "^5.5.3",
8282
"octokit": "^4.1.2",
83+
"pathe": "^2.0.3",
8384
"std-env": "^3.8.1",
8485
"tiny-update-notifier": "^2.0.0",
8586
"tinyglobby": "^0.2.12",

packages/scaffold/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ const defaultConfig = {
172172
headless: false,
173173
startupDelay: 1000,
174174
waitForPlugin: "() => true",
175-
watch: false,
175+
watch: true,
176176
hooks: {},
177177
},
178178
logLevel: "INFO",
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
export const BASE_DIR = ".scaffold";
2+
export const CACHE_DIR = `${BASE_DIR}/cache`;
3+
export const DEFAULT_PROFILE_DIR = "";
4+
export const DEFAULT_DATA_DIR = "";
5+
6+
// Testser
7+
export const TESTER_BASE_PATH = `${BASE_DIR}/test`;
8+
export const TESTER_PROFILE_DIR = `${TESTER_BASE_PATH}/profile`;
9+
export const TESTER_DATA_DIR = `${TESTER_BASE_PATH}/data`;
10+
export const TESTER_PLUGIN_DIR = `${TESTER_BASE_PATH}/resource`;
11+
export const TESTER_PLUGIN_TESTS_DIR = `${TESTER_PLUGIN_DIR}/tests`;
12+
export const TESTER_PLUGIN_REF = "zotero-plugin-scaffold-test-runner";
13+
export const TESTER_PLUGIN_ID = "[email protected]";

0 commit comments

Comments
 (0)