Removed bad JS tests, upgrade QUnit + ember-qunit

This commit is contained in:
Robin Ward
2015-05-13 14:12:54 -04:00
parent 4df868a420
commit 01d4085125
13 changed files with 1062 additions and 465 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -41,21 +41,9 @@ sinon.assert.pass = function (assertion) {
};
sinon.config = {
injectIntoThis: true,
injectIntoThis: false,
injectInto: null,
properties: ["spy", "stub", "mock", "clock", "sandbox"],
useFakeTimers: true,
useFakeServer: false
};
(function (global) {
var qTest = QUnit.test;
QUnit.test = global.test = function (testName, expected, callback, async) {
if (arguments.length === 2) {
callback = expected;
expected = null;
}
return qTest(testName, expected, sinon.test(callback), async);
};
}(this));