Skip to content

Commit

Permalink
test: leave out live tests
Browse files Browse the repository at this point in the history
  • Loading branch information
joekiller committed Jun 16, 2024
1 parent 41f54f6 commit f2d43dc
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions src/__tests__/ps99-api-changes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,32 @@ import { PetSimulator99API } from "../ps99-api";
/**
* It's hard to snapshot these because certain values will always be changing but useful for dump-result checks
*/
describe("Pet Simulator Public Live API Test - Changing Items", () => {
const api = new PetSimulator99API();

test('Active Clan Battle', async () => {
const results = await api.getActiveClanBattle();
expect(results).toMatchSnapshot();
});

test('Get Clan', async () => {
const results = await api.getClan('MMFC');
expect(results).toMatchSnapshot();
});

test('Get Clans', async () => {
const results = await api.getClans({pageSize: 1});
expect(results).toMatchSnapshot();
});

test('Get Exists', async () => {
const results = await api.getExists();
expect(results).toMatchSnapshot();
});

test('Get RAP', async () => {
const results = await api.getRAP();
expect(results).toMatchSnapshot();
});

});
// describe("Pet Simulator Public Live API Test - Changing Items", () => {
// const api = new PetSimulator99API();
//
// test('Active Clan Battle', async () => {
// const results = await api.getActiveClanBattle();
// expect(results).toMatchSnapshot();
// });
//
// test('Get Clan', async () => {
// const results = await api.getClan('MMFC');
// expect(results).toMatchSnapshot();
// });
//
// test('Get Clans', async () => {
// const results = await api.getClans({pageSize: 1});
// expect(results).toMatchSnapshot();
// });
//
// test('Get Exists', async () => {
// const results = await api.getExists();
// expect(results).toMatchSnapshot();
// });
//
// test('Get RAP', async () => {
// const results = await api.getRAP();
// expect(results).toMatchSnapshot();
// });
//
// });

0 comments on commit f2d43dc

Please sign in to comment.