Skip to content

Commit

Permalink
fix: update fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
veritem committed Feb 18, 2023
1 parent aaae20d commit f6507d3
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 14 deletions.
6 changes: 3 additions & 3 deletions fixtures/.eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"plugins": [
"vitest"
],
"extends": [
"plugin:vitest/recommended"
]
"rules": {
"vitest/expect-expect": "error",
}
}
14 changes: 8 additions & 6 deletions fixtures/index.test.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { expect, test } from 'vitest'
import { describe, expect, test } from 'vitest'

test('foo', () => {
expect(true).toBe(true)
})
describe('foo', () => {
test('foo', () => {
expect(true).toBe(true)
})

test('foo', () => {
expect(true).toBe(true)
test('foo', () => {
expect(true).toBe(true)
})
})
2 changes: 1 addition & 1 deletion fixtures/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"author": "Makuza Mugabo Verite <[email protected]> (https://veritem.me/)",
"license": "MIT",
"dependencies": {
"eslint-plugin-vitest": "^0.0.38",
"eslint-plugin-vitest": "^0.0.39",
"vitest": "^0.28.5"
},
"devDependencies": {
Expand Down
8 changes: 4 additions & 4 deletions fixtures/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f6507d3

Please sign in to comment.