Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

testing deep equality

  • Loading branch information...
commit b7b19676430264365f2770945b92b16fa95aabb2 1 parent e9ec2d7
@bahmutov authored
Showing with 1 addition and 5 deletions.
  1. +1 −1  package.json
  2. +0 −4 test/node-tests.js
View
2  package.json
@@ -21,7 +21,7 @@
"grunt-nice-package": "~0.2.2",
"grunt-node-qunit": "~2.0.2",
"grunt-npm2bower-sync": "~0.3.0",
- "gt": "~0.8.33",
+ "gt": "~0.8.34",
"jshint-stylish": "~0.1.5",
"matchdep": "~0.3.0",
"pre-git": "0.0.15",
View
4 test/node-tests.js
@@ -57,7 +57,6 @@ function delayedOneFail() {
return deferred.promise;
}
-/*
function delayedFooBar() {
var deferred = Q.defer();
var result = {
@@ -68,7 +67,6 @@ function delayedFooBar() {
setTimeout(function () { deferred.resolve(result); }, 100);
return deferred.promise;
}
-*/
// regular custom code testing a successful promise
QUnit.test('test successful promise', 1, function (assert) {
@@ -96,7 +94,6 @@ QUnit.test('compare value using equality', 1, function (assert) {
assert.willEqual(delayedOne(), 1, 'returns 1');
});
-/*
QUnit.test('QUnit.equiv', function (assert) {
assert.equal(typeof QUnit.equiv, 'function', 'QUnit.equiv is a function');
});
@@ -109,7 +106,6 @@ QUnit.test('promise will resolve with value using deepEqual', function (assert)
};
assert.willDeepEqual(delayedFooBar(), expected, 'returns equal object');
});
-*/
// regular code to test failed promise
QUnit.test('test failed promise', 1, function (assert) {
Please sign in to comment.
Something went wrong with that request. Please try again.