Skip to content

Commit

Permalink
exclude vitest from node@14 test script
Browse files Browse the repository at this point in the history
apply linters fixes
  • Loading branch information
epszaw committed Jan 11, 2024
1 parent 7ce0b0e commit 79b884a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"lint": "yarn workspaces foreach -vpt run lint",
"lint:fix": "yarn workspaces foreach -vpt run lint:fix",
"test": "yarn workspaces foreach -vpt run test",
"test:node-14": "yarn workspaces foreach -vpt --exclude allure-js --exclude allure-hermione run test",
"test:node-14": "yarn workspaces foreach -vpt --exclude allure-js --exclude allure-vitest --exclude allure-hermione run test",
"build": "yarn run clean && yarn run compile"
},
"lint-staged": {
Expand Down
2 changes: 1 addition & 1 deletion packages/allure-vitest/src/reporter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export default class AllureReporter implements Reporter {
} else {
const test = parent.startTest(task.name, 0);
test.name = task.name;
test.fullName = `${task.file!.name}#${task.name}`;
test.fullName = `${task.file.name}#${task.name}`;
const { allure } = task.meta as { allure: AllureMeta };
if (allure) {
for (const step of allure.currentTest.steps) {
Expand Down

0 comments on commit 79b884a

Please sign in to comment.