mirror of
https://github.com/webrecorder/pywb.git
synced 2025-03-27 08:14:30 +01:00
* Add a Karma configuration for unit/integration tests for the client-side pywb code. * Add an integration test suite which creates an <iframe> loads the client-side rewriting code (wombat.js) in it and then executes a test script. Since wombat.js monkey-patches the DOM and the exact behavior of DOM objects varies between browsers, which we want to test, the suite does not mock the DOM but instead runs a set of tests in an isolated environment against the DOM. * Add Travis config to run the Karma tests
34 lines
791 B
JSON
34 lines
791 B
JSON
{
|
|
"name": "pywb",
|
|
"version": "1.0.0",
|
|
"description": "Web archival replay tools",
|
|
"main": "index.js",
|
|
"directories": {
|
|
"doc": "doc",
|
|
"test": "tests"
|
|
},
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/ikreymer/pywb.git"
|
|
},
|
|
"author": "",
|
|
"license": "GPL-3.0",
|
|
"bugs": {
|
|
"url": "https://github.com/ikreymer/pywb/issues"
|
|
},
|
|
"homepage": "https://github.com/ikreymer/pywb#readme",
|
|
"devDependencies": {
|
|
"chai": "^3.4.1",
|
|
"karma": "^0.13.15",
|
|
"karma-chai": "^0.1.0",
|
|
"karma-chrome-launcher": "^0.2.1",
|
|
"karma-firefox-launcher": "^0.1.7",
|
|
"karma-html2js-preprocessor": "^0.1.0",
|
|
"karma-mocha": "^0.2.1",
|
|
"mocha": "^2.3.4"
|
|
}
|
|
}
|