-
-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Given the following file.
import { expect } from 'chai';
describe('some test suite', function () {
it('test should exist', function () {
const test = 'test';
expect(test).to.equal('test');
});
});When running grit apply chai_to_jest it converts the expect methods but the import { expect } from 'chai; is not removed.
import { expect } from 'chai';
describe('some test suite', function () {
it('test should exist', function () {
const test = 'test';
expect(test).toBe('test');
});
});Workaround is to manually call remove_import.
grit apply 'remove_import(from=`"chai"`)'
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels