Use Jest default files as fallback

This commit is contained in:
Jaco Greeff
2018-06-26 16:38:24 +02:00
parent 10baf9f5f7
commit 69239d56e6
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
"test": "jest --coverage"
},
"devDependencies": {
"@polkadot/dev": "^0.20.3",
"@polkadot/dev": "^0.20.5",
"@polkadot/ts": "^0.1.3"
}
}
+2 -2
View File
@@ -2,10 +2,10 @@
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
// import syncify from './syncify';
import syncify from './syncify';
// FIXME fails locally now for some reason - not TS related. Since it is unused (for _right_ now), not an issue, but needs to be solved
describe.skip('syncify', () => {
describe('syncify', () => {
it('returns the result of the promise', () => {
expect(
syncify(
+1 -1
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the ISC license. See the LICENSE file for details.
import deasync from 'deasync';
const deasync = require('deasync');
import isError from './is/error';
import isUndefined from './is/undefined';
+3 -3
View File
@@ -691,9 +691,9 @@
lodash "^4.17.5"
to-fast-properties "^2.0.0"
"@polkadot/dev@^0.20.3":
version "0.20.3"
resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.20.3.tgz#4650600dd1f5952ee0054f267c7ebc76dd883593"
"@polkadot/dev@^0.20.5":
version "0.20.5"
resolved "https://registry.yarnpkg.com/@polkadot/dev/-/dev-0.20.5.tgz#99a08e9d910833679e3c305362f43ae3018ad7ee"
dependencies:
"@babel/cli" "^7.0.0-beta.51"
"@babel/core" "^7.0.0-beta.51"