0.62.5 • Published 5 years ago
@roo-ui/test-utils v0.62.5
test-utils
Installation
$ yarn add @roo-ui/test-utils
Usage
shallowWithTheme
Shallow render (with Enzyme) a component along with theme context.
import { shallowWithTheme } from '@roo-ui/test-utils';
import { qantas as theme } from '@roo-ui/themes';
import Example from '.';
describe('<Example />', () => {
it('renders correctly', () => {
expect(shallowWithTheme(<Example />, theme)).toMatchSnapshot;
});
});
0.62.5
5 years ago
0.63.0-alpha.82fd11c9
5 years ago
0.63.0-next.57f456f9
5 years ago
0.63.0-alpha.57f456f9
5 years ago
0.63.0-alpha.339c4a0c
5 years ago
0.63.0-alpha.b964d904
5 years ago
0.63.0-alpha.9bc87875
5 years ago
0.63.0-alpha.9fe777cd
5 years ago
0.61.0-alpha.3e8f1ccf
5 years ago
0.61.0-alpha.71d26f32
5 years ago
0.58.10
5 years ago
0.58.5
5 years ago
0.50.7
6 years ago
0.39.1
6 years ago
0.39.0
6 years ago
0.32.0
6 years ago
0.19.0
6 years ago
0.7.0
6 years ago
0.5.4
6 years ago
0.5.3
6 years ago
0.5.0
6 years ago
0.4.2
6 years ago
0.4.1
6 years ago
0.4.0
6 years ago