js-data-adapter-tests
Advanced tools
Comparing version 2.0.0-alpha.16 to 2.0.0-alpha.17
@@ -0,1 +1,5 @@ | ||
##### 2.0.0-alpha.17 - 30 April 2016 | ||
- Fix for testing in IE9 | ||
##### 2.0.0-alpha.16 - 17 March 2016 | ||
@@ -2,0 +6,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"homepage": "https://github.com/js-data/js-data-adapter-tests", | ||
"version": "2.0.0-alpha.16", | ||
"version": "2.0.0-alpha.17", | ||
"repository": { | ||
@@ -20,3 +20,3 @@ "type": "git", | ||
"scripts": { | ||
"lint": "repo-tools lint src/**/*.js rollup.config.js", | ||
"lint": "repo-tools lint \"**/*.js\"", | ||
"bundle": "rollup -c rollup.config.js -f umd -o dist/js-data-adapter-tests.js -m dist/js-data-adapter-tests.js.map src/index.js", | ||
@@ -39,2 +39,5 @@ "watch": "watch \"npm run bundle\" src/", | ||
"assert" | ||
], | ||
"ignore": [ | ||
"dist/" | ||
] | ||
@@ -48,13 +51,12 @@ }, | ||
"devDependencies": { | ||
"babel-core": "6.7.2", | ||
"babel-plugin-syntax-async-functions": "6.5.0", | ||
"babel-plugin-transform-regenerator": "6.6.5", | ||
"babel-polyfill": "6.7.2", | ||
"babel-polyfill": "6.7.4", | ||
"babel-preset-es2015-rollup": "1.1.1", | ||
"babel-preset-stage-0": "6.5.0", | ||
"js-data-repo-tools": "0.2.0", | ||
"rollup": "0.25.4", | ||
"js-data-repo-tools": "0.5.0", | ||
"rollup": "0.26.1", | ||
"rollup-plugin-babel": "2.4.0", | ||
"watch": "0.17.1" | ||
"watch": "0.18.0" | ||
} | ||
} |
@@ -21,3 +21,7 @@ /* global assert:true */ | ||
assert.equal(SubAdapter.bar(), 'bar', 'SubAdapter.bar() should return "bar"') | ||
assert.isTrue(SubAdapter.extend === Adapter.extend, 'should have same static methods') | ||
try { | ||
assert.isTrue(SubAdapter.extend === Adapter.extend, 'should have same static methods') | ||
} catch (err) { | ||
assert.equal(typeof SubAdapter.extend, 'function', 'should have same static methods') | ||
} | ||
@@ -42,3 +46,14 @@ const subAdapter = new SubAdapter() | ||
assert.equal(SubAdapter.bar(), 'bar', 'SubAdapter.bar() should return "bar"') | ||
assert.isTrue(SubAdapter.extend === Adapter.extend, 'should have same static methods') | ||
try { | ||
assert.isTrue(SubAdapter.extend === Adapter.extend, 'should have same static methods') | ||
} catch (err) { | ||
try { | ||
assert.equal(typeof SubAdapter.extend, 'function', 'should have same static methods') | ||
} catch (err) { | ||
var obj = {} | ||
if (obj.setPrototypeOf) { | ||
throw err | ||
} | ||
} | ||
} | ||
@@ -45,0 +60,0 @@ const subAdapter = new SubAdapter() |
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
505578
9
5786