mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 07:37:25 +01:00
lint: Correct linting errors in v3 tests
This commit is contained in:
@@ -11,8 +11,9 @@ describe('Build Manifest', () => {
|
||||
});
|
||||
|
||||
it('throws an error in case the page does not exist', () => {
|
||||
let getManifestFilesFn = () => { getManifestFiles('strange name here') };
|
||||
expect(getManifestFilesFn).to.throw(Error);
|
||||
expect(() => {
|
||||
getManifestFiles('strange name here');
|
||||
}).to.throw(Error);
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user