From 014fbde09f4c533c957d6372345616c13df2a29d Mon Sep 17 00:00:00 2001 From: atticusofsparta Date: Fri, 9 Feb 2024 14:20:39 -0600 Subject: [PATCH] fix(jest): remove extra config --- .github/workflows/pr.yml | 24 ------------------------ jest.config.js | 13 ------------- 2 files changed, 37 deletions(-) delete mode 100644 .github/workflows/pr.yml delete mode 100644 jest.config.js diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml deleted file mode 100644 index b7c16f7c..00000000 --- a/.github/workflows/pr.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Build and Test - -on: [pull_request] - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - node_version: [18.x, 20.x] - command: ['lint', 'format', 'test', 'build'] - steps: - - uses: actions/checkout@v3 - - - name: Set Up node - uses: actions/setup-node@v3 - with: - node-version: ${{ matrix.node_version }} - cache: 'yarn' - - - name: Install dependencies - run: yarn --immutable --immutable-cache - - - run: yarn ${{ matrix.command }} diff --git a/jest.config.js b/jest.config.js deleted file mode 100644 index f647583b..00000000 --- a/jest.config.js +++ /dev/null @@ -1,13 +0,0 @@ -module.exports = { - clearMocks: true, - moduleFileExtensions: ['ts', 'js', 'mjs'], - setupFilesAfterEnv: ['./tests/mocks.jest.ts'], - testMatch: ['**/src/**/*.test.ts', '**/tests/**/*.test.ts'], - collectCoverage: true, - collectCoverageFrom: ['src/**/*.ts', 'tests/**/*.ts'], - testEnvironment: 'node', - testTimeout: 5000, - transform: { - '^.+\\.(ts|js)$': 'ts-jest', - }, -};