Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dbrans committed Aug 12, 2024
1 parent 0aca7a1 commit 9f3c172
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions packages/transaction-controller/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ module.exports = merge(baseConfig, {
coverageThreshold: {
global: {
branches: 93.44,
functions: 98.4,
lines: 98.72,
statements: 98.73,
functions: 97.39,
lines: 98.4,
statements: 98.42,
},
},

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('validation', () => {
it('should throw if unknown transaction envelope type is specified', () => {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
expect(() => validateTxParams({ type: '0x3' } as any)).toThrow(
rpcErrors.invalidParams('Invalid transaction envelope type: 0x3'),
rpcErrors.invalidParams('Invalid transaction envelope type: "0x3"'),
);
});

Expand Down

0 comments on commit 9f3c172

Please sign in to comment.