chore: don't match specific error text (#14494)

This commit is contained in:
Tyera Eulberg
2021-01-08 14:59:01 -07:00
committed by GitHub
parent 21a0a83543
commit b9f0fb5525

View File

@ -105,7 +105,7 @@ describe('load BPF Rust program', () => {
programData,
BPF_LOADER_PROGRAM_ID,
);
await expect(failedLoad).rejects.toThrow('Transaction was not confirmed');
await expect(failedLoad).rejects.toThrow();
// Second load will succeed
await BpfLoader.load(