File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -34,8 +34,9 @@ function startServer(options = {}, cb = Function.prototype) {
34
34
baseDir : path . resolve ( __dirname , '../' ) ,
35
35
routes : {
36
36
'/docs' : path . resolve ( __dirname , '../../docs' ) ,
37
- '/lib' : path . resolve ( __dirname , '../../lib' ) ,
38
37
'/docs/changelog.md' : './CHANGELOG.md' ,
38
+ '/lib' : path . resolve ( __dirname , '../../lib' ) ,
39
+ '/node_modules' : path . resolve ( __dirname , '../../node_modules' ) ,
39
40
} ,
40
41
} ,
41
42
snippetOptions : {
@@ -108,6 +109,9 @@ module.exports = {
108
109
get LIB_URL ( ) {
109
110
return `${ this . TEST_HOST } /lib` ;
110
111
} ,
112
+ get NODE_MODULES_URL ( ) {
113
+ return `${ this . TEST_HOST } /node_modules` ;
114
+ } ,
111
115
TEST_HOST : `http://${ serverConfig . host } :${ serverConfig . port } ` ,
112
116
} ,
113
117
start : startServer ,
You can’t perform that action at this time.
0 commit comments