Migrate all remaining fixtures to jest expect
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import * as foo from "./moduleWithGetter";
|
||||
|
||||
assert.throws(() => foo.boo);
|
||||
expect(() => foo.boo).toThrow();
|
||||
|
||||
// No exception should be thrown
|
||||
|
||||
@@ -28,5 +28,5 @@ tests.forEach(function (code) {
|
||||
});
|
||||
|
||||
// Should create mapping
|
||||
expect(res.map.mappings).not.toBe('');;
|
||||
expect(res.map.mappings).not.toBe('');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user