mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
misc, fix client tests
This commit is contained in:
@@ -12,6 +12,10 @@ describe('async resource', () => {
|
||||
});
|
||||
|
||||
describe('loadAsyncResource', () => {
|
||||
afterEach(() => {
|
||||
if (axios.get && axios.get.restore) axios.get.restore();
|
||||
});
|
||||
|
||||
context('errors', () => {
|
||||
it('store is missing', () => {
|
||||
expect(() => loadAsyncResource({})).to.throw;
|
||||
|
||||
Reference in New Issue
Block a user