karma-requirejs icon indicating copy to clipboard operation
karma-requirejs copied to clipboard

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

Open garciaErick opened this issue 5 years ago • 2 comments

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!

garciaErick avatar Jul 11 '19 22:07 garciaErick

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”.

johnjbarton avatar Jul 11 '19 23:07 johnjbarton

The result is still the same I do not get any meaningful information neither in the console, or the network tab

Erick Garcia Software Developer@DXC DXC Technology +52 1 656 375 6477 <+52+1+656+375+6477> erick-garcia.com [email protected]

Find me on:

http://github.com/garciaErick https://linkedin.com/in/garciaErickCs

On Thu, Jul 11, 2019 at 4:24 PM johnjbarton [email protected] wrote:

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”.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/karma-runner/karma-requirejs/issues/106?email_source=notifications&email_token=AHP2OFD3ORPZOWD5EOUFR73P666LLA5CNFSM4IBYFFX2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZYH57A#issuecomment-510689020, or mute the thread https://github.com/notifications/unsubscribe-auth/AHP2OFFHI6RLD6RPHJ77SJ3P666LLANCNFSM4IBYFFXQ .

garciaErick avatar Jul 12 '19 16:07 garciaErick