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
9416cd7d
Commit
9416cd7d
authored
Nov 25, 2018
by
ιεΈ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove extra code
parent
91be534a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
src/e2e/userLayout.e2e.js
src/e2e/userLayout.e2e.js
+0
-3
No files found.
src/e2e/userLayout.e2e.js
View file @
9416cd7d
import
puppeteer
from
'
puppeteer
'
;
import
RouterConfig
from
'
../../config/router.config
'
;
const
BASE_URL
=
`http://localhost:
${
process
.
env
.
PORT
||
8000
}
`
;
...
...
@@ -29,8 +28,6 @@ describe('Homepage', () => {
beforeAll
(
async
()
=>
{
jest
.
setTimeout
(
1000000
);
browser
=
await
puppeteer
.
launch
({
args
:
[
'
--no-sandbox
'
]
});
page
=
await
browser
.
newPage
();
});
formatter
(
RouterConfig
[
0
].
routes
).
forEach
(
route
=>
{
fit
(
`test pages
${
route
}
`
,
testPage
(
route
));
...
...
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