Skip to content

Commit

Permalink
fix: babel running out of memory when running jest
Browse files Browse the repository at this point in the history
  • Loading branch information
walfly committed May 1, 2020
1 parent 40408dc commit 92e285e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"publish": "lerna publish",
"bootstrap": "lerna bootstrap",
"docs": "ts-node ./scripts/generate-docs.ts && api-documenter markdown -i ./tmpapi -o ./docs/api && rm -rf ./tmpapi",
"test": "jest --config=jest.json",
"test": "jest --config=jest.json --maxWorkers=2",
"test:watch": "jest --config=jest.json --watch",
"daf": "./packages/daf-cli/bin/daf.js",
"build-clean": "rimraf ./packages/*/build ./packages/*/node_modules ./packages/*/tsconfig.tsbuildinfo",
Expand Down
2 changes: 1 addition & 1 deletion packages/daf-w3c/src/__tests__/graphql.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ describe('daf-w3c:graphql', () => {
it('handles Mutation.actionSignVp', async () => {
const data = {
issuer: mockDid,
audience: 'did:web:uport.me',
audience: ['did:web:uport.me'],
context: ['https://www.w3.org/2018/credentials/v1'],
type: ['VerifiablePresentation'],
verifiableCredential: ['JWT'],
Expand Down

0 comments on commit 92e285e

Please sign in to comment.