fix(tests): post merge cleanup

This commit is contained in:
SabreCat
2023-10-03 15:58:31 -05:00
parent a9f3360890
commit fbb9b2c65a
6 changed files with 21 additions and 61 deletions
+6 -6
View File
@@ -197,14 +197,14 @@ describe('shared.ops.purchase', () => {
it('purchases quest bundles', async () => {
const startingBalance = user.balance;
// const clock = sandbox.useFakeTimers(moment('2019-05-20').valueOf());
const clock = sandbox.useFakeTimers(moment('2022-03-16').valueOf());
const type = 'bundles';
const key = 'featheredFriends';
const key = 'cuddleBuddies';
const price = 1.75;
const questList = [
'falcon',
'harpy',
'owl',
'bunny',
'ferret',
'guineapig',
];
await purchase(user, { params: { type, key } });
@@ -216,7 +216,7 @@ describe('shared.ops.purchase', () => {
expect(user.balance).to.equal(startingBalance - price);
expect(pinnedGearUtils.removeItemByPath.notCalled).to.equal(true);
// clock.restore();
clock.restore();
});
});