Skip to content

Commit 7acdc59

Browse files
committed
organize test code
1 parent 0e1ff81 commit 7acdc59

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/pages/Start.jest.spec.ts renamed to test/jest/__tests__/pages/Start.jest.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { beforeEach, describe, expect, it } from '@jest/globals'
22
import { installQuasarPlugin } from '@quasar/quasar-app-extension-testing-unit-jest'
33
import { shallowMount, VueWrapper } from '@vue/test-utils'
44

5-
import Start from './Start.vue'
5+
import Start from '../../../../src/pages/Start.vue'
66

77
// Specify here Quasar config you'll need to test your component
88
installQuasarPlugin()

src/store/step.jest.spec.ts renamed to test/jest/__tests__/store/step.jest.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { beforeEach, describe, expect, it } from '@jest/globals'
22
import * as vue from 'vue'
3-
import { useStep } from './step'
3+
import { useStep } from '../../../../src/store/step'
44

55
describe('useStep', () => {
66
let step: {

0 commit comments

Comments
 (0)