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
c6139e03
Commit
c6139e03
authored
Aug 14, 2018
by
sorrycc
Committed by
ιεΈ
Aug 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
disable dll and hard-source in test
parent
b536754c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
config/config.js
config/config.js
+1
-1
tests/run-tests.js
tests/run-tests.js
+1
-0
No files found.
config/config.js
View file @
c6139e03
...
@@ -22,7 +22,7 @@ export default {
...
@@ -22,7 +22,7 @@ export default {
},
},
polyfills
:
[
'
ie9
'
],
polyfills
:
[
'
ie9
'
],
...(
...(
require
(
'
os
'
).
platform
()
===
'
darwin
'
(
!
process
.
env
.
TEST
&&
require
(
'
os
'
).
platform
()
===
'
darwin
'
)
?
{
?
{
dll
:
[
'
dva
'
,
'
dva/router
'
,
'
dva/saga
'
,
'
dva/fetch
'
],
dll
:
[
'
dva
'
,
'
dva/router
'
,
'
dva/saga
'
,
'
dva/fetch
'
],
hardSource
:
true
,
hardSource
:
true
,
...
...
tests/run-tests.js
View file @
c6139e03
...
@@ -3,6 +3,7 @@ const { kill } = require('cross-port-killer');
...
@@ -3,6 +3,7 @@ const { kill } = require('cross-port-killer');
const
env
=
Object
.
create
(
process
.
env
);
const
env
=
Object
.
create
(
process
.
env
);
env
.
BROWSER
=
'
none
'
;
env
.
BROWSER
=
'
none
'
;
env
.
TEST
=
true
;
const
startServer
=
spawn
(
/^win/
.
test
(
process
.
platform
)
?
'
npm.cmd
'
:
'
npm
'
,
[
'
start
'
],
{
const
startServer
=
spawn
(
/^win/
.
test
(
process
.
platform
)
?
'
npm.cmd
'
:
'
npm
'
,
[
'
start
'
],
{
env
,
env
,
});
});
...
...
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