Skip to content

Commit

Permalink
chore: fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zeevo committed Sep 11, 2020
1 parent 9582c91 commit 4af3136
Show file tree
Hide file tree
Showing 61 changed files with 6,835 additions and 19,149 deletions.
8 changes: 8 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module.exports = {
clearMocks: true,
collectCoverage: true,
coverageReporters: ['text', 'lcov', 'json'],
verbose: true,
testMatch: ['**/*.test.js'],
coveragePathIgnorePatterns: ['**/server/**/resources/'],
};
96 changes: 49 additions & 47 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,51 +1,53 @@
{
"name": "node-fhir-server-core-project",
"private": true,
"version": "2.0.11",
"description": "Node FHIR Rest API Server and surrounding ecosystem",
"homepage": "https://github.com/Asymmetrik/node-fhir-server-core#readme",
"bugs": {
"url": "https://github.com/Asymmetrik/node-fhir-server-core/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Asymmetrik/node-fhir-server-core.git"
},
"license": "MIT",
"author": "Asymmetrik Ltd.",
"contributors": [
"Robert Winterbottom <[email protected]>",
"Jon Lee <[email protected]>",
"Sumeet Shah <[email protected]>",
"Shane O'Neill <[email protected]>"
],
"main": "src/index",
"scripts": {
"name": "node-fhir-server-core-project",
"private": true,
"version": "2.0.11",
"description": "Node FHIR Rest API Server and surrounding ecosystem",
"homepage": "https://github.com/Asymmetrik/node-fhir-server-core#readme",
"bugs": {
"url": "https://github.com/Asymmetrik/node-fhir-server-core/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Asymmetrik/node-fhir-server-core.git"
},
"license": "MIT",
"author": "Asymmetrik Ltd.",
"contributors": [
"Robert Winterbottom <[email protected]>",
"Jon Lee <[email protected]>",
"Sumeet Shah <[email protected]>",
"Shane O'Neill <[email protected]>"
],
"main": "src/index",
"scripts": {
"lerna": "lerna",
"bootstrap": "lerna bootstrap",
"prettier-check": "prettier --check \"**/*.{js,mjs,cjs,jsx,json,ts,tsx,md,mdx,css,html,yml,yaml,scss,less,graphql,graphqls,gql}\"",
"prettier-fix": "prettier --write \"**/*.{js,mjs,cjs,jsx,json,ts,tsx,md,mdx,css,html,yml,yaml,scss,less,graphql,graphqls,gql}\"",
"lint": "run-p lint-typescript prettier-check lint-eslint",
"lint-staged": "lint-staged"
},
"jest": {
"clearMocks": true,
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"<rootDir>/src/server/resources/"
],
"coverageReporters": [
"text",
"lcov",
"json"
],
"verbose": true
},
"devDependencies": {
"lerna": "^3.22.1",
"prettier": "^2.1.1"
},
"engines": {
"node": ">=10.13.0"
}
"prettier-check": "prettier --check \"**/*.{js,mjs,cjs,jsx,json,ts,tsx,md,mdx,css,html,yml,yaml,scss,less,graphql,graphqls,gql}\"",
"prettier-fix": "prettier --write \"**/*.{js,mjs,cjs,jsx,json,ts,tsx,md,mdx,css,html,yml,yaml,scss,less,graphql,graphqls,gql}\"",
"lint": "run-p prettier-check lint-eslint",
"lint-staged": "lint-staged"
},
"jest": {
"clearMocks": true,
"collectCoverage": true,
"coveragePathIgnorePatterns": [
"<rootDir>/src/server/resources/"
],
"coverageReporters": [
"text",
"lcov",
"json"
],
"verbose": true
},
"devDependencies": {
"jest-cli": "^26.4.2",
"lerna": "^3.22.1",
"npm-run-all": "^4.1.5",
"prettier": "^2.1.1"
},
"engines": {
"node": ">=10.13.0"
}
}
Loading

0 comments on commit 4af3136

Please sign in to comment.