We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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.
grit apply chai_to_jest
expect
import { expect } from 'chai
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.
remove_import
grit apply 'remove_import(from=`"chai"`)'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Given the following file.
When running
grit apply chai_to_jest
it converts theexpect
methods but theimport { expect } from 'chai
; is not removed.Workaround is to manually call
remove_import
.The text was updated successfully, but these errors were encountered: