From b9f0fb55252860d2b0279a85a75ad0ab8452f501 Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Fri, 8 Jan 2021 14:59:01 -0700 Subject: [PATCH] chore: don't match specific error text (#14494) --- web3.js/test/bpf-loader.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web3.js/test/bpf-loader.test.js b/web3.js/test/bpf-loader.test.js index a6e7d6e1d7..8919c693e4 100644 --- a/web3.js/test/bpf-loader.test.js +++ b/web3.js/test/bpf-loader.test.js @@ -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(