Skip to content

Commit

Permalink
Fixed build and test errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Daveed committed Jan 16, 2024
1 parent 52fb9ff commit 0b8caeb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"test": "jest"
"test": "jest",
"test-ci": "jest --maxWorkers 2"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion pages/index.test.tsx → tests/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// import { createMocks, RequestMethod } from 'node-mocks-http';
// import type { NextApiRequest, NextApiResponse } from 'next';
// import page from './index';
// import page from '../pages/index';

describe('/pages/', () => {
test.todo('Page renders');
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"jsx": "preserve",
"incremental": true,
"allowImportingTsExtensions": true,
"types": ["mdx"],
"types": [""],
"plugins": [
{
"name": "next"
Expand All @@ -26,6 +26,6 @@
"@/medplum/*": ["./src/medplum/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "**/*.mdx", ".next/types/**/*.ts"],
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}

0 comments on commit 0b8caeb

Please sign in to comment.