From 1fbba6489b5776e9c84609b0eff60eab7c47d0d6 Mon Sep 17 00:00:00 2001 From: Vicary A Date: Mon, 28 Nov 2022 01:08:40 +0800 Subject: [PATCH] chore: revert unnecessary changes --- packages/gqty/src/Selection/selection.ts | 2 +- packages/react/jest.config.js | 4 +--- pnpm-lock.yaml | 28 +++++------------------- 3 files changed, 8 insertions(+), 26 deletions(-) diff --git a/packages/gqty/src/Selection/selection.ts b/packages/gqty/src/Selection/selection.ts index 580485be0d..4335b0c61a 100644 --- a/packages/gqty/src/Selection/selection.ts +++ b/packages/gqty/src/Selection/selection.ts @@ -53,7 +53,7 @@ export class Selection { unions, id, }: SelectionConstructorArgs) { - this.id = id.toString(); + this.id = id + ''; this.key = key; this.operationName = operationName; this.prevSelection = prevSelection ?? null; diff --git a/packages/react/jest.config.js b/packages/react/jest.config.js index d664f20243..9173ce9efd 100644 --- a/packages/react/jest.config.js +++ b/packages/react/jest.config.js @@ -1,6 +1,4 @@ -const { getConfig } = require('test-utils/jest.config.js'); - -module.exports = getConfig({ +module.exports = require('test-utils/jest.config.js').getConfig({ setupFilesAfterEnv: ['@testing-library/jest-dom/extend-expect'], testEnvironment: 'jsdom', }); diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index dddcbf6f65..9d5b5b48b8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -381,7 +381,7 @@ importers: '@graphql-ez/plugin-schema': ^0.8.5 '@graphql-ez/plugin-websockets': ^0.10.5 '@jest/types': ^29.3.1 - '@rollup/plugin-babel': ^6.0.3 + '@rollup/plugin-babel': ^6.0.2 '@types/jest': ^29.2.3 '@types/node': ^18.11.9 '@types/randomstring': ^1.1.8 @@ -4070,7 +4070,7 @@ packages: '@types/node': 18.11.9 ansi-escapes: 4.3.2 chalk: 4.1.2 - ci-info: 3.5.0 + ci-info: 3.6.1 exit: 0.1.2 graceful-fs: 4.2.10 jest-changed-files: 29.2.0 @@ -4111,7 +4111,7 @@ packages: '@types/node': 18.11.9 ansi-escapes: 4.3.2 chalk: 4.1.2 - ci-info: 3.5.0 + ci-info: 3.6.1 exit: 0.1.2 graceful-fs: 4.2.10 jest-changed-files: 29.2.0 @@ -6535,9 +6535,6 @@ packages: resolution: {integrity: sha512-7d58XsFmOq0j6el67Ug9mHf9ELUXsQXYJBkyxhH/k+6Ke0qXRnv0kbemx+Twc6fRJ07C49lcbdgm9FL1Ei/6SQ==} dev: true - /ci-info/3.5.0: - resolution: {integrity: sha512-yH4RezKOGlOhxkmhbeNuC4eYZKAUsEaGtBuBzDDP1eFUKiccDWzBABxBfOx31IDwDIXMTxWuwAxUGModvkbuVw==} - /ci-info/3.6.1: resolution: {integrity: sha512-up5ggbaDqOqJ4UqLKZ2naVkyqSJQgJi5lwD6b6mM748ysrghDBX0bx/qJTUHzw7zu6Mq4gycviSF5hJnwceD8w==} engines: {node: '>=8'} @@ -9735,7 +9732,7 @@ packages: jest-util: 29.3.1 jest-validate: 29.3.1 prompts: 2.4.2 - yargs: 17.6.0 + yargs: 17.6.2 transitivePeerDependencies: - '@types/node' - supports-color @@ -9762,7 +9759,7 @@ packages: jest-util: 29.3.1 jest-validate: 29.3.1 prompts: 2.4.2 - yargs: 17.6.0 + yargs: 17.6.2 transitivePeerDependencies: - '@types/node' - supports-color @@ -10110,7 +10107,7 @@ packages: '@jest/types': 29.3.1 '@types/node': 18.11.9 chalk: 4.1.2 - ci-info: 3.5.0 + ci-info: 3.6.1 graceful-fs: 4.2.10 picomatch: 2.3.1 @@ -14709,18 +14706,6 @@ packages: yargs-parser: 20.2.9 dev: true - /yargs/17.6.0: - resolution: {integrity: sha512-8H/wTDqlSwoSnScvV2N/JHfLWOKuh5MVla9hqLjK3nsfyy6Y4kDSYSvkU5YCUEPOSnRXfIyx3Sq+B/IWudTo4g==} - engines: {node: '>=12'} - dependencies: - cliui: 8.0.1 - escalade: 3.1.1 - get-caller-file: 2.0.5 - require-directory: 2.1.1 - string-width: 4.2.3 - y18n: 5.0.8 - yargs-parser: 21.1.1 - /yargs/17.6.2: resolution: {integrity: sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==} engines: {node: '>=12'} @@ -14732,7 +14717,6 @@ packages: string-width: 4.2.3 y18n: 5.0.8 yargs-parser: 21.1.1 - dev: true /yn/3.1.1: resolution: {integrity: sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==}