remove jest

pull/5370/head
filip mertens 2 years ago
parent 773caf2990
commit bf50bffc31
  1. 1
      apps/debugger/tsconfig.app.json
  2. 1
      apps/etherscan/tsconfig.app.json
  3. 1
      apps/remix-ide-e2e/src/local-plugin/.eslintrc
  4. 2
      apps/remix-ide/tsconfig.json
  5. 2
      apps/remix-ide/tsconfig.spec.json
  6. 1
      apps/solidity-compiler/tsconfig.app.json
  7. 4
      jest.preset.js
  8. 2
      libs/ghaction-helper/tsconfig.json
  9. 26
      libs/remix-solidity/jest.config.js
  10. 2
      libs/remix-solidity/tsconfig.json
  11. 2
      libs/remix-tests/tsconfig.spec.json
  12. 2
      libs/remixd/tsconfig.spec.json
  13. 6
      package.json

@ -9,7 +9,6 @@
"../../node_modules/@nrwl/react/typings/image.d.ts"
],
"exclude": [
"jest.config.ts",
"**/*.spec.ts",
"**/*.test.ts",
"**/*.spec.tsx",

@ -9,7 +9,6 @@
"../../node_modules/@nrwl/react/typings/image.d.ts"
],
"exclude": [
"jest.config.ts",
"**/*.spec.ts",
"**/*.test.ts",
"**/*.spec.tsx",

@ -238,7 +238,6 @@
"browser": true,
"commonjs": true,
"es6": true,
"jest": true,
"node": true
},
"settings": { "react": { "version": "detect" } },

@ -5,7 +5,7 @@
"allowJs": true,
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"types": ["node", "jest"],
"types": ["node"],
"resolveJsonModule": true
},
"files": [

@ -3,7 +3,7 @@
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"module": "commonjs",
"types": ["jest", "node"]
"types": ["node"]
},
"include": [
"**/*.spec.ts",

@ -9,7 +9,6 @@
"../../node_modules/@nrwl/react/typings/image.d.ts"
],
"exclude": [
"jest.config.ts",
"**/*.spec.ts",
"**/*.test.ts",
"**/*.spec.tsx",

@ -1,4 +0,0 @@
const nxPreset = require('@nrwl/jest/preset');
module.exports = { ...nxPreset }

@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"types": ["jest", "node"]
"types": ["node"]
},
"include": ["**/*.ts"]
}

@ -1,26 +0,0 @@
module.exports = {
name: 'remix-solidity',
preset: '../../jest.config.js',
verbose: true,
silent: false, // Silent console messages, specially the 'remix-simulator' ones
transform: {
'^.+\\.[tj]sx?$': ['ts-jest',
{
useESM: true,
}]
},
transformIgnorePatterns: ["/node_modules/", "/dist/", "\\.pnp\\.[^\\/]+$"],
rootDir: "./",
testTimeout: 40000,
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'html', 'json'],
// Coverage
collectCoverage: true,
coverageReporters: ['text', 'text-summary'],
collectCoverageFrom: [
"**/*.ts",
"!**/sol/**",
"!src/types.ts",
"!src/logger.ts"
],
coverageDirectory: '../../coverage/libs/remix-solidity'
};

@ -1,7 +1,7 @@
{
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"types": ["jest", "node"],
"types": ["node"],
},
"include": ["**/*.ts"]
}

@ -3,7 +3,7 @@
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"module": "commonjs",
"types": ["jest", "node"]
"types": ["node"]
},
"include": [
"**/*.spec.ts",

@ -3,7 +3,7 @@
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"module": "commonjs",
"types": ["jest", "node"]
"types": ["node"]
},
"include": [
"**/*.spec.ts",

@ -226,7 +226,6 @@
"@fortawesome/fontawesome-free": "^5.8.1",
"@nrwl/cli": "^15.7.1",
"@nrwl/eslint-plugin-nx": "^15.7.1",
"@nrwl/jest": "15.7.1",
"@nrwl/js": "15.7.1",
"@nrwl/linter": "15.7.1",
"@nrwl/node": "15.7.1",
@ -244,7 +243,6 @@
"@types/express-ws": "^3.0.1",
"@types/fs-extra": "^9.0.1",
"@types/isomorphic-git__lightning-fs": "^4.4.2",
"@types/jest": "28.1.1",
"@types/lodash": "^4.14.172",
"@types/mocha": "^9.1.1",
"@types/node": "18.7.18",
@ -265,7 +263,6 @@
"ace-mode-solidity": "^0.1.0",
"ace-mode-zokrates": "^1.0.4",
"babel-eslint": "^10.0.0",
"babel-jest": "25.1.0",
"babel-plugin-add-module-exports": "^1.0.2",
"babel-plugin-fast-async": "^6.1.2",
"babel-plugin-module-resolver": "^4.0.0",
@ -316,8 +313,6 @@
"ipfs-mini": "^1.1.5",
"is-electron": "^2.2.0",
"javascript-serialize": "^1.6.1",
"jest": "^29.3.1",
"jest-environment-jsdom": "28.1.1",
"js-base64": "^2.1.9",
"js-beautify": "1.6.14",
"lerna": "^3.22.1",
@ -350,7 +345,6 @@
"tape": "^4.13.3",
"terser-webpack-plugin": "^5.3.6",
"timers-browserify": "^2.0.12",
"ts-jest": "^29.0.3",
"ts-node": "10.9.1",
"tslint": "~6.0.0",
"typescript": "^4.8.4",

Loading…
Cancel
Save