skip ssr test

This commit is contained in:
afc163 2017-06-15 18:08:35 +08:00
parent 1f3b9e4ee2
commit e34639a0a8

View File

@ -2,7 +2,7 @@ import { render } from 'enzyme';
import demoTest from '../../../tests/shared/demoTest'; import demoTest from '../../../tests/shared/demoTest';
import routerDemo from '../demo/router.md'; import routerDemo from '../demo/router.md';
demoTest('breadcrumb', { skip: ['router.md'] }); demoTest('breadcrumb', { skip: ['router.md', 'router-4.md'] });
const testMethod = typeof window !== 'undefined' ? test : test.skip; const testMethod = typeof window !== 'undefined' ? test : test.skip;
testMethod('renders ./components/breadcrumb/demo/router.md correctly', () => { testMethod('renders ./components/breadcrumb/demo/router.md correctly', () => {