Skip to content

Commit

Permalink
fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gandlafbtc committed Jan 18, 2024
1 parent f30fc44 commit 49c376f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

name: Node.js CI

on:
on:
push:
branches:
- main
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

name: Node.js CI

on:
on:
pull_request:
types:
- ready_for_review
Expand All @@ -27,4 +27,4 @@ jobs:
cache: 'npm'
- run: npm ci
- run: npm run compile
- run: npm test
- run: npm test
2 changes: 1 addition & 1 deletion src/CashuWallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import {
} from './utils.js';
import { deriveBlindingFactor, deriveSecret, deriveSeedFromMnemonic } from './secrets.js';
import { validateMnemonic } from '@scure/bip39';
import { wordlist } from '@scure/bip39/wordlists/english.js';
import { wordlist } from '@scure/bip39/wordlists/english';

/**
* Class that represents a Cashu wallet.
Expand Down
2 changes: 1 addition & 1 deletion test/wallet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@ describe('deterministic', () => {
.catch((e) => e);
expect(result).toEqual(
new Error(
'Cannot create deterministic messages without seed. Instantiate CashuWallet with a mnemonic, or omit count param.'
'Cannot create deterministic messages without seed. Instantiate CashuWallet with a mnemonic, or omit counter param.'
)
);
});
Expand Down

0 comments on commit 49c376f

Please sign in to comment.