diff --git a/examples/vue/test/async.test.ts b/examples/vue/test/async.test.ts index 69d68baddd34..12721cd08184 100644 --- a/examples/vue/test/async.test.ts +++ b/examples/vue/test/async.test.ts @@ -6,7 +6,7 @@ test('async component with suspense', async () => { expect(AsyncWrapper).toBeTruthy() let resolve: Function - // eslint-disable-next-line promise/param-names + const promise = new Promise(_resolve => resolve = _resolve) const wrapper = mount(AsyncWrapper, { props: { diff --git a/package.json b/package.json index 56b8456bc2c0..d2987af3cf49 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "ui:test": "npm -C packages/ui run test:run" }, "devDependencies": { - "@antfu/eslint-config": "^0.24.2", + "@antfu/eslint-config": "^0.25.0", "@antfu/ni": "^0.16.2", "@rollup/plugin-alias": "^3.1.9", "@rollup/plugin-commonjs": "^22.0.0", diff --git a/packages/vite-node/package.json b/packages/vite-node/package.json index 7ee445dafcd1..0c1f111e9561 100644 --- a/packages/vite-node/package.json +++ b/packages/vite-node/package.json @@ -18,23 +18,23 @@ "exports": { ".": { "types": "./dist/index.d.ts", - "import": "./dist/index.js", - "require": "./dist/index.cjs" + "require": "./dist/index.cjs", + "import": "./dist/index.js" }, "./client": { "types": "./dist/client.d.ts", - "import": "./dist/client.js", - "require": "./dist/client.cjs" + "require": "./dist/client.cjs", + "import": "./dist/client.js" }, "./server": { "types": "./dist/server.d.ts", - "import": "./dist/server.js", - "require": "./dist/server.cjs" + "require": "./dist/server.cjs", + "import": "./dist/server.js" }, "./utils": { "types": "./dist/utils.d.ts", - "import": "./dist/utils.js", - "require": "./dist/utils.cjs" + "require": "./dist/utils.cjs", + "import": "./dist/utils.js" } }, "main": "./dist/index.js", diff --git a/packages/vite-node/src/cli.ts b/packages/vite-node/src/cli.ts index 37dfff78123a..05da28f7673a 100644 --- a/packages/vite-node/src/cli.ts +++ b/packages/vite-node/src/cli.ts @@ -74,7 +74,6 @@ async function run(files: string[], options: CliOptions = {}) { await server.close() server.watcher.on('change', async (path) => { - // eslint-disable-next-line no-console console.log(`${cyan('[vite-node]')} File change detected. ${dim(path)}`) // invalidate module cache but not node_modules diff --git a/packages/vite-node/src/client.ts b/packages/vite-node/src/client.ts index 28eaf1a0fd3e..706286fb1401 100644 --- a/packages/vite-node/src/client.ts +++ b/packages/vite-node/src/client.ts @@ -286,7 +286,6 @@ function exportAll(exports: any, sourceModule: any) { if (exports === sourceModule) return - // eslint-disable-next-line no-restricted-syntax for (const key in sourceModule) { if (key !== 'default') { try { diff --git a/packages/vitest/package.json b/packages/vitest/package.json index 2050f710c21f..94d3422deb03 100644 --- a/packages/vitest/package.json +++ b/packages/vitest/package.json @@ -38,8 +38,8 @@ }, "./config": { "types": "./config.d.ts", - "import": "./dist/config.js", - "require": "./dist/config.cjs" + "require": "./dist/config.cjs", + "import": "./dist/config.js" } }, "main": "./dist/index.js", diff --git a/packages/vitest/src/integrations/chai/jest-asymmetric-matchers.ts b/packages/vitest/src/integrations/chai/jest-asymmetric-matchers.ts index e8e2df4e5c26..802feed8af89 100644 --- a/packages/vitest/src/integrations/chai/jest-asymmetric-matchers.ts +++ b/packages/vitest/src/integrations/chai/jest-asymmetric-matchers.ts @@ -107,7 +107,6 @@ export class ObjectContaining extends AsymmetricMatcher> let result = true - // eslint-disable-next-line no-restricted-syntax for (const property in this.sample) { if (!this.hasProperty(other, property) || !equals(this.sample[property], other[property])) { result = false diff --git a/packages/vitest/src/integrations/chai/jest-utils.ts b/packages/vitest/src/integrations/chai/jest-utils.ts index 2fd5f254925c..47b831fbbb08 100644 --- a/packages/vitest/src/integrations/chai/jest-utils.ts +++ b/packages/vitest/src/integrations/chai/jest-utils.ts @@ -188,7 +188,7 @@ function eq( function keys(obj: object, hasKey: (obj: object, key: string) => boolean) { const keys = [] - // eslint-disable-next-line no-restricted-syntax + for (const key in obj) { if (hasKey(obj, key)) keys.push(key) diff --git a/packages/vitest/src/integrations/coverage.ts b/packages/vitest/src/integrations/coverage.ts index e4c7243595c5..9b50ae4a9cf6 100644 --- a/packages/vitest/src/integrations/coverage.ts +++ b/packages/vitest/src/integrations/coverage.ts @@ -44,7 +44,6 @@ export function takeCoverage() { export async function reportCoverage(ctx: Vitest) { takeCoverage() - // eslint-disable-next-line @typescript-eslint/no-var-requires const createReport = require('c8/lib/report') const report = createReport(ctx.config.coverage) diff --git a/packages/vitest/src/integrations/globals.ts b/packages/vitest/src/integrations/globals.ts index 29a00600d622..a017d3e7ac8a 100644 --- a/packages/vitest/src/integrations/globals.ts +++ b/packages/vitest/src/integrations/globals.ts @@ -4,7 +4,6 @@ import * as index from '../index' export function registerApiGlobally() { globalApis.forEach((api) => { // @ts-expect-error I know what I am doing :P - // eslint-disable-next-line import/namespace globalThis[api] = index[api] }) } diff --git a/packages/vitest/src/node/error.ts b/packages/vitest/src/node/error.ts index 2b5e89c39999..795e6da4fbc8 100644 --- a/packages/vitest/src/node/error.ts +++ b/packages/vitest/src/node/error.ts @@ -1,5 +1,4 @@ /* eslint-disable prefer-template */ -/* eslint-disable no-template-curly-in-string */ import { existsSync, readFileSync } from 'fs' import { join, normalize, relative } from 'pathe' import c from 'picocolors' diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0d615a9a6562..8529afdcfa8e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,7 +8,7 @@ importers: .: specifiers: - '@antfu/eslint-config': ^0.24.2 + '@antfu/eslint-config': ^0.25.0 '@antfu/ni': ^0.16.2 '@rollup/plugin-alias': ^3.1.9 '@rollup/plugin-commonjs': ^22.0.0 @@ -45,7 +45,7 @@ importers: vitest: workspace:* vue: ^3.2.36 devDependencies: - '@antfu/eslint-config': 0.24.2_xztl6dhthcahlo6akmb2bmjmle + '@antfu/eslint-config': 0.25.0_xztl6dhthcahlo6akmb2bmjmle '@antfu/ni': 0.16.2 '@rollup/plugin-alias': 3.1.9_rollup@2.74.1 '@rollup/plugin-commonjs': 22.0.0_rollup@2.74.1 @@ -259,15 +259,15 @@ importers: vite: ^2.9.9 vitest: workspace:* dependencies: - react: 16.14.0 - react-dom: 16.14.0_react@16.14.0 + react: 17.0.2 + react-dom: 16.14.0_react@17.0.2 devDependencies: '@types/react': 17.0.45 '@types/react-dom': 17.0.17 '@vitejs/plugin-react': 1.3.1 '@vitest/ui': link:../../packages/ui enzyme: 3.11.0 - enzyme-adapter-react-16: 1.15.6_j6bpv5pizkyfppcg2tmva6pmii + enzyme-adapter-react-16: 1.15.6_nzetpuaj6rwcpymp3an2fxuqfy vite: 2.9.9 vitest: link:../../packages/vitest @@ -986,13 +986,13 @@ packages: dependencies: '@jridgewell/trace-mapping': 0.3.13 - /@antfu/eslint-config-basic/0.24.2_hzuh7e2up357pvq3mkokjvu2lq: - resolution: {integrity: sha512-JQOJP5zM6pVg0wNUMJCcseNTbOSjIOK6kqhAzzkE1Xz5oUtaHgL9zjGyazPpJU6tkYzpXsUpCn3Nd2rFY02b4g==} + /@antfu/eslint-config-basic/0.25.0_hzuh7e2up357pvq3mkokjvu2lq: + resolution: {integrity: sha512-psQVJOjI00XmSJWqM8yL0EdmYPUfGp6p2mOpJ7rB6JUnvX39OfPKr9HNUNbXmfAzdRXNtf6nrCn7yTBgqHqPPg==} peerDependencies: eslint: '>=7.4.0' dependencies: eslint: 8.16.0 - eslint-plugin-antfu: 0.24.2_xztl6dhthcahlo6akmb2bmjmle + eslint-plugin-antfu: 0.25.0_xztl6dhthcahlo6akmb2bmjmle eslint-plugin-eslint-comments: 3.2.0_eslint@8.16.0 eslint-plugin-html: 6.2.0 eslint-plugin-import: 2.26.0_grfei5yostfimvqdpf73rlhy3e @@ -1012,12 +1012,12 @@ packages: - typescript dev: true - /@antfu/eslint-config-react/0.24.2_xztl6dhthcahlo6akmb2bmjmle: - resolution: {integrity: sha512-rovMrWq4ZGNrPMTOrnLNcXNzztgaTGNT15e7fhOXvP1Zq2UMmj1BCvZjJnLFeHE+ptl7HGd9OADf+WdEfWEfKw==} + /@antfu/eslint-config-react/0.25.0_xztl6dhthcahlo6akmb2bmjmle: + resolution: {integrity: sha512-vBlgKR1K+GI7v6SW1rXsmyFlTAyExCe1acIGhc3D+n6wrUC9OxnPHOSGIOYEWx36MRSi+1snVqJRrz2ok5eVlA==} peerDependencies: eslint: '>=7.4.0' dependencies: - '@antfu/eslint-config-ts': 0.24.2_xztl6dhthcahlo6akmb2bmjmle + '@antfu/eslint-config-ts': 0.25.0_xztl6dhthcahlo6akmb2bmjmle eslint: 8.16.0 eslint-plugin-react: 7.30.0_eslint@8.16.0 transitivePeerDependencies: @@ -1027,13 +1027,13 @@ packages: - typescript dev: true - /@antfu/eslint-config-ts/0.24.2_xztl6dhthcahlo6akmb2bmjmle: - resolution: {integrity: sha512-SLuePt5doZxiYPc4UpNpXHGufgK14/1PXb7qJlDOPYx9jWuPyCkpxesxWXBZ4S+ZHNOw4rvR2iJG0HFVPuNZxg==} + /@antfu/eslint-config-ts/0.25.0_xztl6dhthcahlo6akmb2bmjmle: + resolution: {integrity: sha512-VMJL4D3rj9ZP8Ss8jrrDKMCk6TUxQVwSMf1qIPZj++o5FvtZ5uHfs70gGubcAmfbbdyvIMX/D7Tly7+nEO+U8w==} peerDependencies: eslint: '>=7.4.0' typescript: '>=3.9' dependencies: - '@antfu/eslint-config-basic': 0.24.2_hzuh7e2up357pvq3mkokjvu2lq + '@antfu/eslint-config-basic': 0.25.0_hzuh7e2up357pvq3mkokjvu2lq '@typescript-eslint/eslint-plugin': 5.26.0_hzuh7e2up357pvq3mkokjvu2lq '@typescript-eslint/parser': 5.26.0_xztl6dhthcahlo6akmb2bmjmle eslint: 8.16.0 @@ -1044,12 +1044,12 @@ packages: - supports-color dev: true - /@antfu/eslint-config-vue/0.24.2_xztl6dhthcahlo6akmb2bmjmle: - resolution: {integrity: sha512-lENl6u3GHnzoP75nEx2J+BNZ5S8ORx3XBPD+izxvxoyarVeda4JZf66YJ3nfMI1g/7/5KoM2ebf3g3ceOEBi3w==} + /@antfu/eslint-config-vue/0.25.0_xztl6dhthcahlo6akmb2bmjmle: + resolution: {integrity: sha512-DKNPVoV+3AhQWezolxeSsGHCw35uNiR9soIWYtFGC8NG/iZzV75ApiHDsP9VxZj9vLRUOEAwsEjdSS7ietqvgw==} peerDependencies: eslint: '>=7.4.0' dependencies: - '@antfu/eslint-config-ts': 0.24.2_xztl6dhthcahlo6akmb2bmjmle + '@antfu/eslint-config-ts': 0.25.0_xztl6dhthcahlo6akmb2bmjmle eslint: 8.16.0 eslint-plugin-vue: 9.0.1_eslint@8.16.0 transitivePeerDependencies: @@ -1059,13 +1059,13 @@ packages: - typescript dev: true - /@antfu/eslint-config/0.24.2_xztl6dhthcahlo6akmb2bmjmle: - resolution: {integrity: sha512-hDqwNg8e2xud31467KQRmIaYknoF6ijZIUSVY4LI6rlOZPWHQp7J/rMW6NnIF5RHcGJnI/O0Pf1A0GJl3/pjJw==} + /@antfu/eslint-config/0.25.0_xztl6dhthcahlo6akmb2bmjmle: + resolution: {integrity: sha512-+16ipLZMAlk1i/2nuZN8jnK98FRPu9Z8S/+ooQsqOHcUbblcTta23b8Abo/I20zXR36c3GbGd1ZMBuw00iLhDQ==} peerDependencies: eslint: '>=7.4.0' dependencies: - '@antfu/eslint-config-react': 0.24.2_xztl6dhthcahlo6akmb2bmjmle - '@antfu/eslint-config-vue': 0.24.2_xztl6dhthcahlo6akmb2bmjmle + '@antfu/eslint-config-react': 0.25.0_xztl6dhthcahlo6akmb2bmjmle + '@antfu/eslint-config-vue': 0.25.0_xztl6dhthcahlo6akmb2bmjmle '@typescript-eslint/eslint-plugin': 5.26.0_hzuh7e2up357pvq3mkokjvu2lq '@typescript-eslint/parser': 5.26.0_xztl6dhthcahlo6akmb2bmjmle eslint: 8.16.0 @@ -8492,7 +8492,7 @@ packages: symbol.prototype.description: 1.0.5 dev: true - /airbnb-prop-types/2.16.0_react@16.14.0: + /airbnb-prop-types/2.16.0_react@17.0.2: resolution: {integrity: sha512-7WHOFolP/6cS96PhKNrslCLMYAI8yB1Pp6u6XmxozQOiZbsI5ycglZr5cHhBFfuRcQQjzCMith5ZPZdYiJCxUg==} peerDependencies: react: ^0.14 || ^15.0.0 || ^16.0.0-alpha @@ -8505,7 +8505,7 @@ packages: object.entries: 1.1.5 prop-types: 15.8.1 prop-types-exact: 1.2.0 - react: 16.14.0 + react: 17.0.2 react-is: 16.13.1 dev: true @@ -8751,7 +8751,7 @@ packages: dev: true /array-flatten/1.1.1: - resolution: {integrity: sha1-ml9pkFGx5wczKPKgCJaLZOopVdI=} + resolution: {integrity: sha512-PCVAQswWemu6UdxsDFFX/+gVeYqKAod3D3UVm91jHwynguOwAvYPhx8nNlM++NqRcK6CxxpUafjmhIdKiHibqg==} dev: true /array-includes/3.1.5: @@ -8778,7 +8778,7 @@ packages: dev: true /array-uniq/1.0.3: - resolution: {integrity: sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=} + resolution: {integrity: sha512-MNha4BWQ6JbwhFhj03YK552f7cb3AzoE8SzeljgChvL1dl3IcvggXVz1DilzySZkCja+CXuZbdW7yATchWn8/Q==} engines: {node: '>=0.10.0'} dev: true @@ -11291,7 +11291,7 @@ packages: dev: true /delayed-stream/1.0.0: - resolution: {integrity: sha1-3zrhmayt+31ECqrgsp4icrJOxhk=} + resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} engines: {node: '>=0.4.0'} dev: true @@ -11300,7 +11300,7 @@ packages: dev: true /depd/1.1.2: - resolution: {integrity: sha1-m81S4UwJd2PnSbJ0xDRu0uVgtak=} + resolution: {integrity: sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==} engines: {node: '>= 0.6'} dev: true @@ -11608,7 +11608,7 @@ packages: dev: true /encodeurl/1.0.2: - resolution: {integrity: sha1-rT/0yG7C0CkyL1oCw6mmBslbP1k=} + resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==} engines: {node: '>= 0.8'} dev: true @@ -11651,7 +11651,7 @@ packages: engines: {node: '>=0.12'} dev: true - /enzyme-adapter-react-16/1.15.6_j6bpv5pizkyfppcg2tmva6pmii: + /enzyme-adapter-react-16/1.15.6_nzetpuaj6rwcpymp3an2fxuqfy: resolution: {integrity: sha512-yFlVJCXh8T+mcQo8M6my9sPgeGzj85HSHi6Apgf1Cvq/7EL/J9+1JoJmJsRxZgyTvPMAqOEpRSu/Ii/ZpyOk0g==} peerDependencies: enzyme: ^3.0.0 @@ -11659,31 +11659,31 @@ packages: react-dom: ^16.0.0-0 dependencies: enzyme: 3.11.0 - enzyme-adapter-utils: 1.14.0_react@16.14.0 + enzyme-adapter-utils: 1.14.0_react@17.0.2 enzyme-shallow-equal: 1.0.4 has: 1.0.3 object.assign: 4.1.2 object.values: 1.1.5 prop-types: 15.8.1 - react: 16.14.0 - react-dom: 16.14.0_react@16.14.0 + react: 17.0.2 + react-dom: 16.14.0_react@17.0.2 react-is: 16.13.1 - react-test-renderer: 16.14.0_react@16.14.0 + react-test-renderer: 16.14.0_react@17.0.2 semver: 5.7.1 dev: true - /enzyme-adapter-utils/1.14.0_react@16.14.0: + /enzyme-adapter-utils/1.14.0_react@17.0.2: resolution: {integrity: sha512-F/z/7SeLt+reKFcb7597IThpDp0bmzcH1E9Oabqv+o01cID2/YInlqHbFl7HzWBl4h3OdZYedtwNDOmSKkk0bg==} peerDependencies: react: 0.13.x || 0.14.x || ^15.0.0-0 || ^16.0.0-0 dependencies: - airbnb-prop-types: 2.16.0_react@16.14.0 + airbnb-prop-types: 2.16.0_react@17.0.2 function.prototype.name: 1.1.5 has: 1.0.3 object.assign: 4.1.2 object.fromentries: 2.0.5 prop-types: 15.8.1 - react: 16.14.0 + react: 17.0.2 semver: 5.7.1 dev: true @@ -12403,7 +12403,7 @@ packages: engines: {node: '>=6'} /escape-html/1.0.3: - resolution: {integrity: sha1-Aljq5NPQwJdN4cFpGI7wBR0dGYg=} + resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} dev: true /escape-string-regexp/1.0.5: @@ -12472,8 +12472,8 @@ packages: - supports-color dev: true - /eslint-plugin-antfu/0.24.2_xztl6dhthcahlo6akmb2bmjmle: - resolution: {integrity: sha512-WMvTNmI8h9eRTRUcTYgbECEXD8AwF+fjsTXiKNouD4a2pOps8WW9yjRnMOENk0/9vV5p52cu6PbJbfbM0/B/TA==} + /eslint-plugin-antfu/0.25.0_xztl6dhthcahlo6akmb2bmjmle: + resolution: {integrity: sha512-9iaxtCdrDHCcNYNf8undfoauZsNwtNxAuIGSNsK33SFzwY7V8n0rKPwYe90TjAb26tNDHS0SdUVS5nJjPUWylA==} dependencies: '@typescript-eslint/utils': 5.26.0_xztl6dhthcahlo6akmb2bmjmle transitivePeerDependencies: @@ -12840,7 +12840,7 @@ packages: dev: true /etag/1.8.1: - resolution: {integrity: sha1-Qa4u62XvpiJorr/qg6x9eSmbCIc=} + resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} engines: {node: '>= 0.6'} dev: true @@ -13120,7 +13120,7 @@ packages: dev: true /fast-levenshtein/2.0.6: - resolution: {integrity: sha1-PYpcZog6FqMMqGQ+hR8Zuqd5eRc=} + resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} dev: true /fastq/1.13.0: @@ -13257,7 +13257,7 @@ packages: resolution: {integrity: sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng==} /find-up/2.1.0: - resolution: {integrity: sha1-RdG35QbHF93UgndaK3eSCjwMV6c=} + resolution: {integrity: sha512-NWzkk0jSJtTt08+FBFMvXoeZnOJD+jTtsRmBYbAIzJdX6l7dLgR7CTubCM5/eDdPUBvLCeVasP1brfVR/9/EZQ==} engines: {node: '>=4'} dependencies: locate-path: 2.0.0 @@ -13565,7 +13565,7 @@ packages: dev: true /functional-red-black-tree/1.0.1: - resolution: {integrity: sha1-GwqzvVU7Kg1jmdKcDj6gslIHgyc=} + resolution: {integrity: sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==} dev: true /functions-have-names/1.2.3: @@ -13735,7 +13735,7 @@ packages: dev: true /glob-to-regexp/0.3.0: - resolution: {integrity: sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs=} + resolution: {integrity: sha512-Iozmtbqv0noj0uDDqoL0zNq0VBEfK2YFoMAZoxJe4cwphvLR+JskfF30QhXHOR4m3KrE6NLRYw+U9MRXvifyig==} dev: true /glob-to-regexp/0.4.1: @@ -13916,7 +13916,7 @@ packages: dev: true /has-flag/3.0.0: - resolution: {integrity: sha1-tdRU3CGZriJWmfNGfloH87lVuv0=} + resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} engines: {node: '>=4'} /has-flag/4.0.0: @@ -18213,7 +18213,7 @@ packages: - supports-color dev: true - /react-dom/16.14.0_react@16.14.0: + /react-dom/16.14.0_react@17.0.2: resolution: {integrity: sha512-1gCeQXDLoIqMgqD3IO2Ah9bnf0w9kzhwN5q4FGnHZ67hBm9yePzB5JJAIQCc8x3pFnNlwFq4RidZggNAAkzWWw==} peerDependencies: react: ^16.14.0 @@ -18221,7 +18221,7 @@ packages: loose-envify: 1.4.0 object-assign: 4.1.1 prop-types: 15.8.1 - react: 16.14.0 + react: 17.0.2 scheduler: 0.19.1 /react-dom/17.0.2_react@17.0.2: @@ -18461,14 +18461,14 @@ packages: refractor: 3.6.0 dev: true - /react-test-renderer/16.14.0_react@16.14.0: + /react-test-renderer/16.14.0_react@17.0.2: resolution: {integrity: sha512-L8yPjqPE5CZO6rKsKXRO/rVPiaCOy0tQQJbC+UjPNlobl5mad59lvPjwFsQHTvL03caVDIVr9x9/OSgDe6I5Eg==} peerDependencies: react: ^16.14.0 dependencies: object-assign: 4.1.1 prop-types: 15.8.1 - react: 16.14.0 + react: 17.0.2 react-is: 16.13.1 scheduler: 0.19.1 dev: true @@ -18527,14 +18527,6 @@ packages: react-dom: 17.0.2_react@17.0.2 dev: false - /react/16.14.0: - resolution: {integrity: sha512-0X2CImDkJGApiAlcf0ODKIneSwBPhqJawOa5wCtKbu7ZECrmS26NvtSILynQ66cgkT/RJ4LidJOc3bUESwmU8g==} - engines: {node: '>=0.10.0'} - dependencies: - loose-envify: 1.4.0 - object-assign: 4.1.1 - prop-types: 15.8.1 - /react/17.0.2: resolution: {integrity: sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==} engines: {node: '>=0.10.0'} diff --git a/test/core/test/jest-expect.test.ts b/test/core/test/jest-expect.test.ts index 7c150c8f8c2c..1fca1f1a15da 100644 --- a/test/core/test/jest-expect.test.ts +++ b/test/core/test/jest-expect.test.ts @@ -1,4 +1,3 @@ -/* eslint-disable comma-spacing */ /* eslint-disable no-sparse-arrays */ import { describe, expect, it, vi } from 'vitest'