From 6f3447209130b9f1f42772b6757d49c5dad85321 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 11 May 2016 16:49:05 +0800 Subject: [PATCH] fix test case --- package.json | 2 +- tests/index.test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 75bc092612..7b81c5572f 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/tests/index.test.js b/tests/index.test.js index ed4e5b924c..282203348c 100644 --- a/tests/index.test.js +++ b/tests/index.test.js @@ -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();