aboutsummaryrefslogtreecommitdiff
path: root/tests/jest
diff options
context:
space:
mode:
Diffstat (limited to 'tests/jest')
-rw-r--r--tests/jest/extract_callback.test.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/jest/extract_callback.test.js b/tests/jest/extract_callback.test.js
index d67d7e6..895aa8d 100644
--- a/tests/jest/extract_callback.test.js
+++ b/tests/jest/extract_callback.test.js
@@ -108,14 +108,4 @@ describe('extract_callback()', () => {
expect(callback).toHaveBeenCalledWith(['foo', 23]);
})
-
- test('invalid', () => {
- expect(() => {
- extractCallback('callback', {}, {});
- }).toThrow();
-
- expect(() => {
- extractCallback('{}', {}, {});
- }).toThrow();
- })
});