Add tests for importers (#56)

This also fixes deep copy import for Instruments when copying from Instruments 7

Related to #14
This commit is contained in:
Jamie Wong
2018-05-29 23:53:03 -07:00
committed by GitHub
parent 405e751bbb
commit 2207ff54ce
22 changed files with 14015 additions and 19 deletions
+18 -3
View File
@@ -12,11 +12,16 @@
"test": "tsc --noEmit && npm run lint && npm run coverage",
"serve": "parcel index.html --open --no-autoinstall"
},
"browserslist": ["last 2 Chrome versions", "last 2 Firefox versions"],
"browserslist": [
"last 2 Chrome versions",
"last 2 Firefox versions"
],
"author": "",
"license": "MIT",
"devDependencies": {
"@types/jest": "^22.2.3",
"@types/jszip": "^3.1.4",
"@types/node": "^10.1.4",
"@types/pako": "1.0.0",
"aphrodite": "2.1.0",
"coveralls": "^3.0.1",
@@ -24,6 +29,7 @@
"eslint-plugin-prettier": "^2.6.0",
"jest": "^23.0.1",
"jsverify": "^0.8.3",
"jszip": "^3.1.5",
"pako": "1.0.6",
"parcel-bundler": "1.7.0",
"preact": "8.2.7",
@@ -39,7 +45,16 @@
"^.+\\.tsx?$": "ts-jest"
},
"testRegex": "\\.test\\.tsx?$",
"collectCoverageFrom": ["*.{ts,tsx}", "!*.d.{ts,tsx}"],
"moduleFileExtensions": ["ts", "tsx", "js", "jsx", "json"]
"collectCoverageFrom": [
"**/*.{ts,tsx}",
"!**/*.d.{ts,tsx}"
],
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
]
}
}