Skip to content
This repository was archived by the owner on May 27, 2021. It is now read-only.

Commit 165f386

Browse files
committed
Simplify test
1 parent 2931444 commit 165f386

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tests/unit/ResourceLister.test.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,6 @@ test('lister update should stop if it gets a 500', async () => {
4040
moxios.wait(() => {
4141
const request = moxios.requests.mostRecent();
4242

43-
expect(true).toBeTruthy();
44-
4543
request.respondWith({
4644
status: 500,
4745
response: {
@@ -54,8 +52,6 @@ test('lister update should stop if it gets a 500', async () => {
5452
});
5553
});
5654

57-
expect.assertions(3);
58-
5955
const lister = api.users.lister({}, 0);
6056

6157
lister.autoUpdate = false;

0 commit comments

Comments
 (0)