Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
668074c8
Commit
668074c8
authored
Jan 07, 2018
by
afc163
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix test case
parent
889447f4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
13 deletions
+4
-13
package.json
package.json
+4
-4
src/e2e/home.e2e.js
src/e2e/home.e2e.js
+0
-9
No files found.
package.json
View file @
668074c8
...
@@ -46,14 +46,14 @@
...
@@ -46,14 +46,14 @@
"
react-fittext
"
:
"
^1.0.0
"
"
react-fittext
"
:
"
^1.0.0
"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"
@babel/preset-env
"
:
"
^7.0.0-beta.36
"
,
"
@babel/preset-react
"
:
"
^7.0.0-beta.36
"
,
"
babel-eslint
"
:
"
^8.1.2
"
,
"
babel-eslint
"
:
"
^8.1.2
"
,
"
babel-jest
"
:
"
^22.0.4
"
,
"
babel-jest
"
:
"
^22.0.4
"
,
"
babel-plugin-dva-hmr
"
:
"
^0.4.1
"
,
"
babel-plugin-dva-hmr
"
:
"
^0.4.1
"
,
"
babel-plugin-import
"
:
"
^1.6.3
"
,
"
babel-plugin-import
"
:
"
^1.6.3
"
,
"
babel-plugin-transform-class-properties
"
:
"
^6.24.1
"
,
"
babel-plugin-transform-class-properties
"
:
"
^6.24.1
"
,
"
babel-plugin-transform-decorators-legacy
"
:
"
^1.3.4
"
,
"
babel-plugin-transform-decorators-legacy
"
:
"
^1.3.4
"
,
"
babel-preset-env
"
:
"
^1.6.1
"
,
"
babel-preset-react
"
:
"
^6.24.1
"
,
"
cross-env
"
:
"
^5.1.1
"
,
"
cross-env
"
:
"
^5.1.1
"
,
"
cross-port-killer
"
:
"
^1.0.1
"
,
"
cross-port-killer
"
:
"
^1.0.1
"
,
"
enzyme
"
:
"
^3.1.0
"
,
"
enzyme
"
:
"
^3.1.0
"
,
...
@@ -86,8 +86,8 @@
...
@@ -86,8 +86,8 @@
},
},
"babel"
:
{
"babel"
:
{
"presets"
:
[
"presets"
:
[
"env"
,
"
@babel/
env"
,
"react"
"
@babel/
react"
],
],
"plugins"
:
[
"plugins"
:
[
"transform-decorators-legacy"
,
"transform-decorators-legacy"
,
...
...
src/e2e/home.e2e.js
deleted
100644 β 0
View file @
889447f4
import
Nightmare
from
'
nightmare
'
;
describe
(
'
Homepage
'
,
()
=>
{
it
(
'
it should have logo text
'
,
async
()
=>
{
const
page
=
Nightmare
().
goto
(
'
http://localhost:8000
'
);
const
text
=
await
page
.
wait
(
'
h1
'
).
evaluate
(()
=>
document
.
body
.
innerHTML
).
end
();
expect
(
text
).
toContain
(
'
<h1>Ant Design Pro</h1>
'
);
});
});
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment