File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
exercises/03.best-practices
03.problem.network-mocking
03.solution.network-mocking
04.problem.element-presence
04.solution.element-presence
05.problem.page-navigation
05.solution.page-navigation Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -196,7 +196,7 @@ You want MSW up and running _in every test_ so you can take advantage of its req
196196
197197` ` ` ts filename = test - extend .ts add = 19
198198import { test as testBase } from ' vitest'
199- import { worker } from ' ./src/mocks/browser.js '
199+ import { worker } from ' ./src/mocks/browser'
200200
201201type TestContext = {
202202 worker: typeof worker
Original file line number Diff line number Diff line change 11import { test as testBase } from 'vitest'
2- import { worker } from './src/mocks/browser.js '
2+ import { worker } from './src/mocks/browser'
33
44type TestContext = {
55 worker : typeof worker
Original file line number Diff line number Diff line change 11import { test as testBase } from 'vitest'
2- import { worker } from './src/mocks/browser.js '
2+ import { worker } from './src/mocks/browser'
33
44type TestContext = {
55 worker : typeof worker
Original file line number Diff line number Diff line change 11import { test as testBase } from 'vitest'
2- import { worker } from './src/mocks/browser.js '
2+ import { worker } from './src/mocks/browser'
33
44type TestContext = {
55 worker : typeof worker
Original file line number Diff line number Diff line change 11import { test as testBase } from 'vitest'
2- import { worker } from './src/mocks/browser.js '
2+ import { worker } from './src/mocks/browser'
33
44type TestContext = {
55 worker : typeof worker
Original file line number Diff line number Diff line change 11import { test as testBase } from 'vitest'
2- import { worker } from './src/mocks/browser.js '
2+ import { worker } from './src/mocks/browser'
33
44type TestContext = {
55 worker : typeof worker
You can’t perform that action at this time.
0 commit comments