s/beforeAll/beforeEach/ (All connects to local, even skipped) (#1096)

* s/beforeAll/beforeEach/ (All connects to local, even skipped)

* Introduce test:all (incl. e2e, test now execludes)
This commit is contained in:
Jaco Greeff
2019-07-10 15:48:12 +02:00
committed by GitHub
parent c29a0a4ac3
commit 1a80bdef4b
2 changed files with 4 additions and 3 deletions
+2 -1
View File
@@ -9,8 +9,9 @@ import { BlockNumber } from '@polkadot/types';
describe.skip('e2e consts', () => {
let api: ApiPromise;
beforeAll(() => {
beforeEach(() => {
api = new ApiPromise(new WsProvider('ws://127.0.0.1:9944'));
return api.isReady;
});