From 54b3273d0d9033d32f549a6b937921426c35b08b Mon Sep 17 00:00:00 2001 From: Arda TANRIKULU Date: Thu, 14 Nov 2024 16:51:39 +0300 Subject: [PATCH] Format --- .github/workflows/test.yml | 2 ++ package.json | 2 +- vitest-jest.js | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fdf943c3..dccfef5a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,6 +26,8 @@ jobs: uses: the-guild-org/shared-config/setup@v1 with: node-version: ${{matrix.node-version}} + - name: Build + run: yarn build - name: Test run: yarn test diff --git a/package.json b/package.json index 207b36d1..212e71a6 100644 --- a/package.json +++ b/package.json @@ -54,6 +54,7 @@ "vitest": "^2.1.3" }, "resolutions": { + "@graphql-tools/delegate": "workspace:^", "@opentelemetry/resources": "patch:@opentelemetry/resources@npm%3A1.25.1#~/.yarn/patches/@opentelemetry-resources-npm-1.25.1-d294145a2e.patch", "graphql": "^16.9.0", "graphql-rate-limit@npm:^3.3.0": "patch:graphql-rate-limit@npm%3A3.3.0#~/.yarn/patches/graphql-rate-limit-npm-3.3.0-3ae882ba75.patch", @@ -61,7 +62,6 @@ "jest-snapshot": "patch:jest-snapshot@npm%3A29.7.0#~/.yarn/patches/jest-snapshot+29.7.0.patch", "pkgroll": "patch:pkgroll@npm%3A2.5.1#~/.yarn/patches/pkgroll-npm-2.5.1-9b062c22ca.patch", "sequelize": "^6.37.5", - "@graphql-tools/delegate": "workspace:^", "sqlite3": "^5.1.7" } } diff --git a/vitest-jest.js b/vitest-jest.js index 3989e869..1d297824 100644 --- a/vitest-jest.js +++ b/vitest-jest.js @@ -18,13 +18,13 @@ module.exports = new Proxy(require('@jest/globals'), { return jestGlobals.describe.skip(`${name} >`, ...args); } return jestGlobals.describe.skip(name, ...args); - } + }; describeFn.only = function describeOnly(name, ...args) { if (typeof name === 'string') { return jestGlobals.describe.only(`${name} >`, ...args); } return jestGlobals.describe.only(name, ...args); - } + }; return describeFn; } return Reflect.get(jestGlobals, prop, receiver);