File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -337,6 +337,11 @@ original state after calling [`common.hijackStdOut()`][].
337337
338338Path to the 'root' directory. either ` / ` or ` c:\\ ` (windows)
339339
340+ ### projectDir
341+ * return [ < ; String>]
342+
343+ Path to the project directory.
344+
340345### skip(msg)
341346* ` msg ` [ < ; String>]
342347
Original file line number Diff line number Diff line change @@ -59,6 +59,8 @@ exports.enoughTestCpu = Array.isArray(cpus) &&
5959 ( cpus . length > 1 || cpus [ 0 ] . speed > 999 ) ;
6060
6161exports . rootDir = exports . isWindows ? 'c:\\' : '/' ;
62+ exports . projectDir = path . resolve ( __dirname , '..' , '..' ) ;
63+
6264exports . buildType = process . config . target_defaults . default_configuration ;
6365
6466// If env var is set then enable async_hook hooks for all tests.
You can’t perform that action at this time.
0 commit comments