Migrate babel-preset-es2015 and -next-target tests to use jest expect

This commit is contained in:
Deven Bansod
2018-03-22 22:54:13 +05:30
parent 0856f89882
commit db42a5d70f
377 changed files with 2905 additions and 2899 deletions

View File

@@ -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('');;
});