We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78c2a9d commit cea9129Copy full SHA for cea9129
1 file changed
test/config/server.js
@@ -34,8 +34,9 @@ function startServer(options = {}, cb = Function.prototype) {
34
baseDir: path.resolve(__dirname, '../'),
35
routes: {
36
'/docs': path.resolve(__dirname, '../../docs'),
37
- '/lib': path.resolve(__dirname, '../../lib'),
38
'/docs/changelog.md': './CHANGELOG.md',
+ '/lib': path.resolve(__dirname, '../../lib'),
39
+ '/node_modules': path.resolve(__dirname, '../../node_modules'),
40
},
41
42
snippetOptions: {
@@ -108,6 +109,9 @@ module.exports = {
108
109
get LIB_URL() {
110
return `${this.TEST_HOST}/lib`;
111
112
+ get NODE_MODULES_URL() {
113
+ return `${this.TEST_HOST}/node_modules`;
114
+ },
115
TEST_HOST: `http://${serverConfig.host}:${serverConfig.port}`,
116
117
start: startServer,
0 commit comments