2
0
mirror of https://github.com/iconify/iconify.git synced 2025-01-07 07:34:22 +00:00

Remove CommonJS tests with Vitest in core

This commit is contained in:
Vjacheslav Trushkin 2022-03-17 18:04:04 +02:00
parent 20596bef1d
commit 6f569401d7
2 changed files with 1 additions and 17 deletions

View File

@ -20,9 +20,7 @@
"test:jest-cjs": "jest --clearCache --config=jest.config.cjs && jest --runInBand --config=jest.config.cjs",
"test:jest-esm": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --clearCache --config=jest.config.mjs && cross-env NODE_OPTIONS=--experimental-vm-modules npx jest --runInBand --config=jest.config.mjs",
"test": "npm run test:jest-cjs && npm run test:jest-esm",
"vitest:cjs": "vitest --config vitest.config.cjs",
"vitest:esm": "vitest --config vitest.config.mjs",
"vitest": "npm run vitest:cjs && npm run vitest:esm"
"vitest": "vitest --config vitest.config.mjs"
},
"sideEffects": false,
"exports": {

View File

@ -1,14 +0,0 @@
const { defineConfig } = require('vitest/config');
module.exports = defineConfig({
resolve: {
mainFields: ['require'],
extensions: ['.cjs'],
},
test: {
globals: true,
isolate: false,
watch: false,
include: ['**/tests/**/*-test.ts'],
},
});