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 bs58 from 'bs58';
import invariant from 'assert';
import {Buffer} from 'buffer';
import {Token, u64} from '@solana/spl-token';
import {expect, use} from 'chai';
@@ -19,6 +18,7 @@ import {
sendAndConfirmTransaction,
Keypair,
} from '../src';
import invariant from '../src/util/assert';
import {DEFAULT_TICKS_PER_SLOT, NUM_TICKS_PER_SECOND} from '../src/timing';
import {MOCK_PORT, url} from './url';
import {