ui_migration node(pack) add test:unit command
This commit is contained in:
parent
e803d60013
commit
d75051df4a
8 changed files with 72 additions and 22 deletions
|
|
@ -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,
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue