skovhus / jest-codemods

Codemods for migrating to Jest https://github.com/facebook/jest 👾
MIT License
877 stars 81 forks source link

Why test migration skipped? #548

Open andriyor opened 1 year ago

andriyor commented 1 year ago

I have such test

import { expect } from 'chai';

describe('<ActionListCard />', () => {

  it('renders title', () => {
    expect(render().find('.card-header').text()).to.eq('Default Title');
  });
});

By running jest-codemod i select such options

  1. Babel
  2. Chai: Should/Expect BDD Syntax
  3. No, I use import/require statements for my current assertion library
  4. Yes, use the globals provided by Jest (recommended)