Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit 92c162c

Browse files
committed
feat(unit-test): added jest and text input tests
1 parent 1fa4334 commit 92c162c

File tree

5 files changed

+835
-3462
lines changed

5 files changed

+835
-3462
lines changed

jest.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
module.exports = {
2-
moduleFileExtensions: ['js', 'jsx', 'json', 'vue'],
2+
moduleFileExtensions: ['js', 'jsx', 'ts', 'json', 'vue'],
33

44
transform: {
55
'^.+\\.vue$': 'vue-jest',
6-
'^.+\\.jsx?$': 'babel-jest',
6+
'^.+\\.(js|jsx)?$': 'babel-jest',
7+
'^.+\\.(ts|tsx)?$': 'ts-jest',
78
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$':
89
'jest-transform-stub',
910
},

0 commit comments

Comments
 (0)