add test infra and a basic record integration test
This commit is contained in:
11
package.json
11
package.json
@@ -4,7 +4,7 @@
|
||||
"description": "record and replay the web",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"test": "TS_NODE_CACHE=false TS_NODE_FILES=true mocha -r ts-node/register test/**/*.ts",
|
||||
"bundle": "rollup --config"
|
||||
},
|
||||
"repository": {
|
||||
@@ -21,9 +21,18 @@
|
||||
},
|
||||
"homepage": "https://github.com/rrweb-io/rrweb#readme",
|
||||
"devDependencies": {
|
||||
"@types/chai": "^4.1.6",
|
||||
"@types/mocha": "^5.2.5",
|
||||
"@types/node": "^10.11.7",
|
||||
"@types/puppeteer": "^1.9.0",
|
||||
"chai": "^4.2.0",
|
||||
"jest-snapshot": "^23.6.0",
|
||||
"mocha": "^5.2.0",
|
||||
"puppeteer": "^1.9.0",
|
||||
"rollup": "^0.66.6",
|
||||
"rollup-plugin-node-resolve": "^3.4.0",
|
||||
"rollup-plugin-typescript": "^1.0.0",
|
||||
"ts-node": "^7.0.1",
|
||||
"tslib": "^1.9.3",
|
||||
"tslint": "^4.5.1",
|
||||
"typescript": "^3.1.1"
|
||||
|
||||
Reference in New Issue
Block a user