diff --git a/data/vitest.mjs b/data/vitest.mjs new file mode 100644 index 0000000..2e9a2b0 --- /dev/null +++ b/data/vitest.mjs @@ -0,0 +1,18 @@ +export default { + afterAll: false, + afterEach: false, + assert: false, + assertType: false, + beforeAll: false, + beforeEach: false, + describe: false, + expect: false, + expectTypeOf: false, + it: false, + onTestFailed: false, + onTestFinished: false, + suite: false, + test: false, + vi: false, + vitest: false, +}; diff --git a/globals.json b/globals.json index 07f5dbf..8a0b08c 100644 --- a/globals.json +++ b/globals.json @@ -2656,6 +2656,24 @@ "uniq": false, "which": false }, + "vitest": { + "afterAll": false, + "afterEach": false, + "assert": false, + "assertType": false, + "beforeAll": false, + "beforeEach": false, + "describe": false, + "expect": false, + "expectTypeOf": false, + "it": false, + "onTestFailed": false, + "onTestFinished": false, + "suite": false, + "test": false, + "vi": false, + "vitest": false + }, "webextensions": { "browser": false, "chrome": false, diff --git a/scripts/generate-data.mjs b/scripts/generate-data.mjs index c6e3136..0abc714 100644 --- a/scripts/generate-data.mjs +++ b/scripts/generate-data.mjs @@ -13,8 +13,11 @@ async function getData() { environments.map(async environment => ({environment, globals: await readGlobals(environment)})), ); + console.log({data}) + console.log(data.map(({environment, globals}) => [environment, globals])) return Object.fromEntries(data.map(({environment, globals}) => [environment, globals])); } const data = await getData(); +// console.log({data}) await fs.writeFile(DATA_FILE, JSON.stringify(data, undefined, '\t') + '\n');