Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using karma custom template properties to override HTMLs #137

Merged
merged 1 commit into from
Aug 27, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"build": "gulp --gulpfile test/gulpfile.ts --cwd ./ build-app",
"e2e": "gulp --gulpfile test/gulpfile.ts --cwd ./ build-e2e && protractor test/protractor.conf.js",
"karma": "gulp --gulpfile test/gulpfile.ts --cwd ./ karma-debug",
"postinstall": "ionic state restore && typings install && webdriver-manager update && cp test/karma-static/*.html node_modules/karma/static",
"postinstall": "ionic state restore && typings install && webdriver-manager update",
"start": "ionic serve",
"test": "gulp --gulpfile test/gulpfile.ts --cwd ./ unit-test"
},
Expand Down
7 changes: 6 additions & 1 deletion test/karma.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,12 @@ module.exports = function(config) {

// https://github.com/lathonez/clicker/issues/82
// try increasing this value if you see the error "Disconnected (1 times), because no message in 30000 ms."
browserNoActivityTimeout: 30000
browserNoActivityTimeout: 30000,

customContextFile: "test/karma-static/context.html",

customDebugFile: "test/karma-static/debug.html",

});

if (process.env.TRAVIS || process.env.CIRCLECI) {
Expand Down