Skip to content

Commit

Permalink
updated test configurations
Browse files Browse the repository at this point in the history
  • Loading branch information
pranav-kural committed Jul 24, 2024
1 parent c311624 commit 8657b55
Show file tree
Hide file tree
Showing 6 changed files with 3,933 additions and 1,090 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ jobs:
- name: Test
run: pnpm test
env:
GOOGLE_GENAI_API_KEY: ${{ secrets.GOOGLE_GENAI_API_KEY }}
GOOGLE_GENAI_API_KEY: ${{ secrets.GOOGLE_GENAI_API_KEY }}
2 changes: 1 addition & 1 deletion jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ const config: Config = {
// testLocationInResults: false,

// The glob patterns Jest uses to detect test files
testMatch: ['**/lib/tests/**/*.[jt]s?(x)'],
testMatch: ['**/lib/tests/**/*test.[jt]s?(x)'],

// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
// testPathIgnorePatterns: [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"buildandtest": "npm run build && npm run test",
"lint": "pnpm eslint .",
"format": "pnpm prettier . --write",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --no-watchman --detectOpenHandles",
"test": "NODE_OPTIONS=\"$NODE_OPTIONS --experimental-vm-modules\" jest --verbose --no-watchman --forceExit",
"predeploy": "pnpm lint && pnpm format && pnpm build && pnpm test"
},
"keywords": [
Expand Down
Loading

0 comments on commit 8657b55

Please sign in to comment.