mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
fix(test): remove outdated event expectation
This commit is contained in:
@@ -35,13 +35,6 @@ describe('GET /world-state', () => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('returns a string representing the current season for NPC sprites', async () => {
|
|
||||||
const res = await requester().get('/world-state');
|
|
||||||
|
|
||||||
expect(res).to.have.nested.property('npcImageSuffix');
|
|
||||||
expect(res.npcImageSuffix).to.be.a('string');
|
|
||||||
});
|
|
||||||
|
|
||||||
context('no current event', () => {
|
context('no current event', () => {
|
||||||
beforeEach(async () => {
|
beforeEach(async () => {
|
||||||
sinon.stub(worldState, 'getCurrentEvent').returns(null);
|
sinon.stub(worldState, 'getCurrentEvent').returns(null);
|
||||||
|
|||||||
Reference in New Issue
Block a user