fix test case

pull/1661/head
afc163 9 years ago
parent d4c5579bac
commit 6f34472091

@ -124,7 +124,7 @@
"demolint": "RUN_ENV=DEMO eslint components/*/demo/*.md --ext '.md'",
"lesshint": "lesshint components -r scripts/lesshint-report.js",
"eslint-fix": "eslint --fix components test site scripts ./*.js --ext '.js,.jsx' && eslint-tinker ./components/*/demo/*.md",
"test": "npm run lint && npm run dist && npm run jest",
"test": "npm run lint && npm run jest && npm run dist",
"jest": "jest",
"pre-publish": "node ./scripts/prepub",
"pub": "antd-tools run pub",

@ -3,7 +3,7 @@ jest.unmock('../index');
import React from 'react';
import antd from '../index';
describe('Icon', function() {
describe('antd', function() {
it('should has modules in antd', () => {
expect('Affix' in antd).toBeTruthy();
expect('Alert' in antd).toBeTruthy();

Loading…
Cancel
Save