ui_migration node(pack) add test:unit command

This commit is contained in:
Antonio Anaya 2026-05-14 22:56:16 -06:00
parent e803d60013
commit d75051df4a
8 changed files with 72 additions and 22 deletions

View file

@ -73,5 +73,22 @@ export default [
"pinia/require-setup-store-properties-export": "warn",
},
},
{
files: ["src/tests/unit/**/*.spec.js"],
languageOptions: {
globals: {
describe: "readonly",
it: "readonly",
expect: "readonly",
vi: "readonly",
beforeEach: "readonly",
afterEach: "readonly",
mockLogData: "readonly", // Prevents unused global mock variable warnings
afterAll: "readonly",
},
},
},
prettierConfig,
];