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) {
3434 baseDir : path . resolve ( __dirname , '../' ) ,
3535 routes : {
3636 '/docs' : path . resolve ( __dirname , '../../docs' ) ,
37- '/lib' : path . resolve ( __dirname , '../../lib' ) ,
3837 '/docs/changelog.md' : './CHANGELOG.md' ,
38+ '/lib' : path . resolve ( __dirname , '../../lib' ) ,
39+ '/node_modules' : path . resolve ( __dirname , '../../node_modules' ) ,
3940 } ,
4041 } ,
4142 snippetOptions : {
@@ -108,6 +109,9 @@ module.exports = {
108109 get LIB_URL ( ) {
109110 return `${ this . TEST_HOST } /lib` ;
110111 } ,
112+ get NODE_MODULES_URL ( ) {
113+ return `${ this . TEST_HOST } /node_modules` ;
114+ } ,
111115 TEST_HOST : `http://${ serverConfig . host } :${ serverConfig . port } ` ,
112116 } ,
113117 start : startServer ,
You can’t perform that action at this time.
0 commit comments