fix: remove buggy node polyfill plugin (#18531)

* fix: remove buggy node polyfill plugin

* fix websocket test

* remove assert dependency
This commit is contained in:
Justin Starry
2021-07-09 00:33:41 -05:00
committed by GitHub
parent f6371cce17
commit 2ef2b6daa0
12 changed files with 24 additions and 20 deletions

View File

@ -1,5 +1,4 @@
import base58 from 'bs58';
import invariant from 'assert';
import {expect} from 'chai';
import {
@ -9,6 +8,7 @@ import {
SystemProgram,
LAMPORTS_PER_SOL,
} from '../src';
import invariant from '../src/util/assert';
import {MOCK_PORT, url} from './url';
import {helpers, mockRpcResponse, mockServer} from './mocks/rpc-http';
import {stubRpcWebSocket, restoreRpcWebSocket} from './mocks/rpc-websockets';