Migrate babel-preset-es2015 and -next-target tests to use jest expect
This commit is contained in:
@@ -28,9 +28,5 @@ tests.forEach(function (code) {
|
||||
});
|
||||
|
||||
// Should create mapping
|
||||
assert.notEqual(
|
||||
res.map.mappings,
|
||||
'',
|
||||
'expected to generate sourcemap for: ' + code
|
||||
);
|
||||
expect(res.map.mappings).not.toBe('');;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user