Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Arodab committed Oct 19, 2024
1 parent 5e281b0 commit 7e95cdd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/integration/commands/fish.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('Fish Command', async () => {
it('should handle invalid fish', async () => {
const user = await createTestUser();
const res = await user.runCommand(fishCommand, { name: 'asdf' });
expect(res).toEqual('Thats not a valid fish to catch.');
expect(res).toEqual('Thats not a valid spot you can fish at.');
});

it('should handle insufficient barb fishing levels', async () => {
Expand Down Expand Up @@ -71,7 +71,7 @@ describe('Fish Command', async () => {
const user = await client.mockUser({ maxed: true });
await user.equip('skilling', [EItem.FISH_SACK_BARREL]);
const res = await user.runCommand(fishCommand, { name: 'shrimps' });
expect(res).toContain('+9 trip minutes and +28 inventory slots for having');
expect(res).toContain('+9 minutes for Fish barrel');
});

it('should handle using flakes without flakes in bank', async () => {
Expand All @@ -82,7 +82,7 @@ describe('Fish Command', async () => {

it('should fish with flakes', async () => {
const user = await createTestUser();
await user.update({ bank: new Bank({ 'Spirit flakes': 100 }) });
await user.update({ bank: new Bank({ 'Spirit flakes': 1000 }) });
const res = await user.runCommand(fishCommand, { name: 'shrimps', flakes: true });
expect(res).toContain('50% more fish from using spirit flakes');
});
Expand Down

0 comments on commit 7e95cdd

Please sign in to comment.