Skip to content

Commit

Permalink
feat: add missing globals (#598) (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
yongholeeme authored Dec 17, 2024
1 parent c732cea commit a0e9641
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,14 +254,18 @@ const plugin = {
test: 'writable',
describe: 'writable',
it: 'writable',
expectTypeOf: 'writable',
assertType: 'writable',
expect: 'writable',
assert: 'writable',
vitest: 'writable',
vi: 'writable',
beforeAll: 'writable',
afterAll: 'writable',
beforeEach: 'writable',
afterEach: 'writable'
afterEach: 'writable',
onTestFailed: 'writable',
onTestFinished: 'writable'
}
}
}
Expand All @@ -273,14 +277,18 @@ const plugin = {
test: true,
describe: true,
it: true,
expectTypeOf: true,
assertType: true,
expect: true,
assert: true,
vitest: true,
vi: true,
beforeAll: true,
afterAll: true,
beforeEach: true,
afterEach: true
afterEach: true,
onTestFailed: true,
onTestFinished: true
}
}
}
Expand Down

0 comments on commit a0e9641

Please sign in to comment.