Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit69cd871

Browse files
author
Javier Diaz
committed
test: jest configuration
1 parent4dd0173 commit69cd871

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

‎jest.config.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
module.exports={
2+
moduleFileExtensions:[
3+
'js',
4+
'jsx',
5+
'json',
6+
'vue',
7+
],
8+
transform:{
9+
'.*\\.(vue)$':'vue-jest',
10+
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$':'jest-transform-stub',
11+
'^.+\\.js$':'<rootDir>/node_modules/babel-jest',
12+
},
13+
transformIgnorePatterns:[
14+
'/node_modules/',
15+
],
16+
snapshotSerializers:[
17+
'jest-serializer-vue',
18+
],
19+
testMatch:[
20+
'**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)',
21+
],
22+
};

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp