Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Cafe137 committed Dec 4, 2024
1 parent 486a529 commit 805df81
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 54 deletions.
2 changes: 1 addition & 1 deletion test/prompt/stamp-prompt.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ describeCommand('Postage stamp price estimation prompt', ({ consoleMessages }) =
jest.spyOn(inquirer, 'prompt').mockResolvedValueOnce({ value: 'n' })
await invokeTestCli(['stamp', 'buy', '--depth', '24', '--amount', '596046400'])
expect(consoleMessages[0]).toBe('Estimated cost: 1.000 xBZZ')
expect(consoleMessages[1]).toBe('Estimated capacity: 64.00 GB')
expect(consoleMessages[1]).toBe('Estimated capacity: 64.000 GB')
expect(consoleMessages[2]).toBe('Estimated TTL: 34 hours')
expect(inquirer.prompt).toHaveBeenCalledWith({
message: 'Confirm the purchase',
Expand Down
53 changes: 0 additions & 53 deletions test/utils/storage.spec.ts

This file was deleted.

0 comments on commit 805df81

Please sign in to comment.