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

Repeated " Some of your tests did a full page reload!" error #106

Open
garciaErick opened this issue Jul 11, 2019 · 2 comments
Open

Repeated " Some of your tests did a full page reload!" error #106

garciaErick opened this issue Jul 11, 2019 · 2 comments

Comments

@garciaErick
Copy link

Karma config
// karma.conf.js
module.exports = function(config) {
config.set({
frameworks: ['jasmine'],
plugins: [require("karma-jasmine")],
files: [
'node_modules/requirejs/require.js',
'node_modules/karma-requirejs/lib/adapter.js',
"spec/**/*[sS]pec.js",
]
})
}

Sample spec
describe("Project View Sensors", function() {
it("Should populate measures grid", function(){
expect(1).toBe(1);
});
});

Without fail every time the error is this I am by no means loading anything that would reload the window
Firefox 67.0.0 (Windows 10.0.0) ERROR
Some of your tests did a full page reload!

@johnjbarton
Copy link

Run with —no_single_run and when the browser comes up use devtools to figure out why the reload.

The message should really say “Wait, your test is unloading the test window, that can’t be good”.

@garciaErick
Copy link
Author

garciaErick commented Jul 12, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants