Test files linted
This commit is contained in:
@ -8,5 +8,9 @@ test('Returns a value', () => {
|
||||
expect(attempt(() => 0)).toBe(0);
|
||||
});
|
||||
test('Returns an error', () => {
|
||||
expect(attempt(() => {throw new Error();})).toBeInstanceOf(Error);
|
||||
expect(
|
||||
attempt(() => {
|
||||
throw new Error();
|
||||
})
|
||||
).toBeInstanceOf(Error);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user