js-data-adapter-tests
Advanced tools
Comparing version 2.0.0-alpha.8 to 2.0.0-alpha.9
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/js-data/js-data-adapter-tests", | ||
"version": "2.0.0-alpha.8", | ||
"version": "2.0.0-alpha.9", | ||
"repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
@@ -97,4 +97,6 @@ /* global assert:true */ | ||
assert.isUndefined(result.data, 'result.data') | ||
assert.isDefined(result.deleted, 'result.deleted') | ||
assert.equal(result.deleted, 1, 'result.deleted') | ||
if (result.hasOwnProperty('deleted')) { | ||
assert.isDefined(result.deleted, 'result.deleted') | ||
assert.equal(result.deleted, 1, 'result.deleted') | ||
} | ||
}) | ||
@@ -118,6 +120,8 @@ it('should destroy nothing', async function () { | ||
assert.isUndefined(result.data, 'result.data') | ||
assert.isDefined(result.deleted, 'result.deleted') | ||
assert.equal(result.deleted, 0, 'result.deleted') | ||
if (result.hasOwnProperty('deleted')) { | ||
assert.isDefined(result.deleted, 'result.deleted') | ||
assert.equal(result.deleted, 0, 'result.deleted') | ||
} | ||
}) | ||
}) | ||
} |
@@ -56,4 +56,6 @@ /* global assert:true */ | ||
assert.isUndefined(result.data, 'result.data') | ||
assert.isDefined(result.deleted, 'result.deleted') | ||
assert.equal(result.deleted, 1, 'result.deleted') | ||
if (result.hasOwnProperty('deleted')) { | ||
assert.isDefined(result.deleted, 'result.deleted') | ||
assert.equal(result.deleted, 1, 'result.deleted') | ||
} | ||
}) | ||
@@ -77,6 +79,8 @@ it('should destroy nothing', async function () { | ||
assert.isUndefined(result.data, 'result.data') | ||
assert.isDefined(result.deleted, 'result.deleted') | ||
assert.equal(result.deleted, 0, 'result.deleted') | ||
if (result.hasOwnProperty('deleted')) { | ||
assert.isDefined(result.deleted, 'result.deleted') | ||
assert.equal(result.deleted, 0, 'result.deleted') | ||
} | ||
}) | ||
}) | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
275868
3285