mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
chore: remove ununsed jest config
This commit is contained in:
parent
35581f1bfa
commit
d1e55e82a3
@ -1,18 +0,0 @@
|
|||||||
module.exports = {
|
|
||||||
moduleFileExtensions: ['js', 'jsx', 'vue', 'ts', 'tsx'],
|
|
||||||
transform: {
|
|
||||||
'\\.(vue)$': 'vue-jest',
|
|
||||||
'\\.(js|jsx|ts|tsx)$': '<rootDir>/test/transformer.js',
|
|
||||||
},
|
|
||||||
snapshotSerializers: ['jest-serializer-vue'],
|
|
||||||
collectCoverageFrom: [
|
|
||||||
'src/**/*.{js,jsx,ts,tsx,vue}',
|
|
||||||
'!**/style/**',
|
|
||||||
'!**/demo/**',
|
|
||||||
'!**/locale/lang/**',
|
|
||||||
'!**/sku/**'
|
|
||||||
],
|
|
||||||
collectCoverage: true,
|
|
||||||
coverageReporters: ['html', 'lcov', 'text-summary'],
|
|
||||||
coverageDirectory: './test/coverage'
|
|
||||||
};
|
|
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
import { command, parse } from 'commander';
|
import { command, parse } from 'commander';
|
||||||
import { dev } from './commands/dev';
|
import { dev } from './commands/dev';
|
||||||
import { test } from './commands/test';
|
|
||||||
import { lint } from './commands/lint';
|
import { lint } from './commands/lint';
|
||||||
|
import { test } from './commands/jest';
|
||||||
import { clean } from './commands/clean';
|
import { clean } from './commands/clean';
|
||||||
import { build } from './commands/build';
|
import { build } from './commands/build';
|
||||||
import { release } from './commands/release';
|
import { release } from './commands/release';
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
const babelConfig = require('../babel.config');
|
|
||||||
|
|
||||||
module.exports = require('babel-jest').createTransformer(babelConfig);
|
|
Loading…
x
Reference in New Issue
Block a user