This repository was archived by the owner on Feb 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ describe("Provider", function () {
73
73
await Provider . testConnection ( { provider } ) ;
74
74
assert ( false ) ;
75
75
} catch ( error ) {
76
- const snippet = `Could not connect to your Ethereum client ` ;
76
+ const snippet = `Couldn't connect to node ` ;
77
77
if ( error . message . includes ( snippet ) ) {
78
78
assert ( true ) ;
79
79
} else {
@@ -119,7 +119,7 @@ describe("Provider", function () {
119
119
"The provider was instantiated correctly. That shouldn't have happened"
120
120
) ;
121
121
} catch ( error ) {
122
- const snippet = `Could not connect to your Ethereum client ` ;
122
+ const snippet = `Couldn't connect to node ` ;
123
123
if ( error . message . includes ( snippet ) ) {
124
124
assert ( true ) ;
125
125
} else {
@@ -189,7 +189,12 @@ describe("Provider", function () {
189
189
190
190
assert . deepStrictEqual ( error , err ) ;
191
191
const _stubbedRawError = _stubbedFailedResult ( payload ) ;
192
- assert . deepStrictEqual ( error , new ProviderError ( _stubbedRawError . error . message , { underlyingError : _stubbedRawError . error } ) ) ;
192
+ assert . deepStrictEqual (
193
+ error ,
194
+ new ProviderError ( _stubbedRawError . error . message , {
195
+ underlyingError : _stubbedRawError . error
196
+ } )
197
+ ) ;
193
198
194
199
assert . strictEqual ( result , undefined ) ;
195
200
}
You can’t perform that action at this time.
0 commit comments