1
0
mirror of https://github.com/SomboChea/ui synced 2024-11-24 06:54:27 +07:00

test: skip non-deterministic test

This commit is contained in:
Sergio Herrera Guzmán 2019-09-11 22:47:45 +02:00
parent 195a79a809
commit de0f91a6d2

View File

@ -27,7 +27,8 @@ describe('<Version /> component', () => {
cleanup(); cleanup();
}); });
test('should render the component in default state', () => { // FIXME: this test is not deterministic (writes `N days ago` in the snapshot, where N is random number)
test.skip('should render the component in default state', () => {
const wrapper = mount( const wrapper = mount(
<MemoryRouter> <MemoryRouter>
<Versions /> <Versions />