Skip to content

Instantly share code, notes, and snippets.

@adrian-afergon
Last active April 11, 2019 19:55
Show Gist options
  • Save adrian-afergon/01303dcf2eb4f34b4011c0b06448a1d3 to your computer and use it in GitHub Desktop.
Save adrian-afergon/01303dcf2eb4f34b4011c0b06448a1d3 to your computer and use it in GitHub Desktop.
Renaming the tests
import { shallow } from 'enzyme';
import * as React from 'react';
import { ExerciseDetail } from './';
describe('ExerciseDetail', () => {
it('should display the warning when it\'s present in the exercise', () => {
/* ... */
});
it('should not display the warning when it\'s not set in the exercise', () => {
/* ... */
});
it('should render a list multiple tags', () => {
/* ... */
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment