Skip to content

Commit

Permalink
fix: mocha use tsconfig.test.json
Browse files Browse the repository at this point in the history
  • Loading branch information
ieow committed Feb 25, 2022
1 parent ee49d8b commit 13da9cb
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@
"@solana/spl-token": "^0.1.8",
"@solana/spl-token-registry": "^0.2.1281",
"@solana/web3.js": "^1.34.0",
"@toruslabs/base-controllers": "^1.6.3",
"@toruslabs/base-controllers": "^1.6.4",
"@toruslabs/http-helpers": "^2.1.4",
"@toruslabs/loglevel-sentry": "^2.7.2",
"@toruslabs/openlogin": "^1.5.0",
"@toruslabs/openlogin-ed25519": "^1.5.0",
"@toruslabs/openlogin-jrpc": "^1.5.0",
"@toruslabs/openlogin-utils": "^1.5.0",
"@toruslabs/solana-controllers": "^1.6.3",
"@toruslabs/solana-controllers": "^1.6.4",
"@toruslabs/tweetnacl-js": "^1.0.3",
"@toruslabs/vue-components": "^0.0.13",
"@toruslabs/vue-icons": "^0.0.14",
Expand Down Expand Up @@ -71,20 +71,21 @@
"@commitlint/cli": "^16.2.1",
"@commitlint/config-conventional": "^16.2.1",
"@commitlint/is-ignored": "^16.2.1",
"@metaplex-foundation/mpl-token-metadata": "^1.1.0",
"@playwright/test": "^1.19.1",
"@sentry/cli": "^1.72.2",
"@metaplex-foundation/mpl-token-metadata": "^1.1.0",
"@tailwindcss/forms": "^0.4.0",
"@toruslabs/eslint-config-vue": "^0.2.0",
"@toruslabs/tweetnacl-js": "^1.0.3",
"@types/bs58": "^4.0.1",
"@types/dateformat": "^5.0.0",
"@types/lodash-es": "^4.17.6",
"@types/elliptic": "^6.4.14",
"@types/lodash-es": "^4.17.6",
"@types/lodash.merge": "^4.6.6",
"@types/mocha": "^9.0.0",
"@types/pump": "^1.1.1",
"@types/readable-stream": "^2.3.13",
"@types/sinon": "^10.0.6",
"@typescript-eslint/eslint-plugin": "^5.12.0",
"@typescript-eslint/parser": "^5.12.0",
"@vue/cli-plugin-babel": "~5.0.1",
Expand All @@ -100,9 +101,8 @@
"color": "^4.2.1",
"crypto-browserify": "^3.12.0",
"dotenv": "^10.0.0",
"eslint": "^8.9.0",
"@types/sinon": "^10.0.6",
"elliptic": "^6.5.4",
"eslint": "^8.9.0",
"eslint-import-resolver-typescript": "^2.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-mocha": "^10.0.3",
Expand All @@ -115,9 +115,9 @@
"eslint-plugin-vuejs-accessibility": "^1.1.1",
"https-browserify": "^1.0.0",
"husky": "^7.0.4",
"lint-staged": "^12.3.4",
"jsdom": "^19.0.0",
"jsdom-global": "^3.0.2",
"lint-staged": "^12.3.4",
"mocha": "^9.1.4",
"nock": "^13.2.1",
"os-browserify": "^0.3.0",
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"resolveJsonModule": true,
"sourceMap": true,
"baseUrl": ".",
"types": ["webpack-env", "mocha"],
"types": ["webpack-env"],
"paths": {
"@/*": ["src/*"]
},
"lib": ["esnext", "dom", "dom.iterable", "scripthost"]
},
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "tests/**/*.ts", "tests/*.js", "tests/**/*.tsx", "playwright.config.ts", "src/scripts/*.js"],
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "tests/**/*.ts", "tests/*.tsx", "playwright.config.ts", "src/scripts/*.js"],
"exclude": ["node_modules", "dist"]
}
2 changes: 1 addition & 1 deletion tsconfig.test.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@
},
"lib": ["esNext", "dom", "dom.iterable", "scripthost"],
},
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "tests/**/*.ts", "tests/*.js", "tests/**/*.tsx", "playwright.config.ts", "src/scripts/*.js"],
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "tests/controller/*.ts", "tests/*.js", "tests/controller/*.tsx"],
"exclude": ["node_modules", "dist"]
}

0 comments on commit 13da9cb

Please sign in to comment.