Skip to content

Commit

Permalink
Allow karma release tests to run.
Browse files Browse the repository at this point in the history
#4175 provided an initial fix, but it doesn't work for release tests,
this works in both debug and release modes.
  • Loading branch information
mramato committed Aug 8, 2016
1 parent 400f9e9 commit 5af5dc7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Specs/karma-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,13 @@
}

require([
'Core/RequestScheduler',
'Specs/customizeJasmine'
], function(
RequestScheduler,
customizeJasmine) {
// Disable request prioritization since it interferes with tests that expect a request to go through immediately.
Cesium.RequestScheduler.prioritize = false;
RequestScheduler.prioritize = false;

customizeJasmine(jasmine.getEnv(), included, excluded, webglValidation, release);

Expand Down

0 comments on commit 5af5dc7

Please sign in to comment.