Skip to content

Commit 90d341a

Browse files
committed
chore: 📝 manualy import from vite
1 parent f120618 commit 90d341a

File tree

6 files changed

+5
-1
lines changed

6 files changed

+5
-1
lines changed

src/__tests__/form-data.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { describe, expect, it } from 'vitest'
12
import { objectToFormData } from '../util'
23

34
describe('FormData', () => {

src/__tests__/object.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { afterEach, describe, expect, it } from 'vitest'
12
import { hasFiles, isFile } from '../util'
23

34
describe('Object Test', () => {

src/__tests__/package.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { mount } from '@vue/test-utils'
2+
import { describe, expect, test } from 'vitest'
23
import Vue from 'vue'
34
import AxiosHttp from '../'
45
import { addElemWithDataAppToBody, disableTransitions, sleep } from '../util'

src/__tests__/post-service.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import Axios from 'axios'
22
import MockAdapter from 'axios-mock-adapter'
3+
import { beforeEach, describe, expect, it } from 'vitest'
34
import BaseService from '../core/BaseService'
45
import PostService from '../util/PostService'
56

src/__tests__/validator.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type { ValidatorType } from '../core/Validator'
2+
import { afterEach, beforeEach, describe, expect, it, test } from 'vitest'
23
import Validator from '../core/Validator'
34

45
describe('Validator', () => {

vite.config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import { defineConfig } from 'vite'
22

33
export default defineConfig({
44
test: {
5-
globals: true,
65
deps: {
76
interopDefault: true,
87
},

0 commit comments

Comments
 (0)