Commit d0e53f1a authored by Winnie Hellmann's avatar Winnie Hellmann Committed by Mike Greiling

Make sure that each Jest test contains an assertion

parent 4a772d50
......@@ -93,3 +93,9 @@ Object.assign(global, {
clearTimeout(id);
},
});
// make sure that each test actually tests something
// see https://jestjs.io/docs/en/expect#expecthasassertions
beforeEach(() => {
expect.hasAssertions();
});
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment