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()`][].
337
337
338
338
Path to the 'root' directory. either ` / ` or ` c:\\ ` (windows)
339
339
340
+ ### projectDir
341
+ * return [ < ; String>]
342
+
343
+ Path to the project directory.
344
+
340
345
### skip(msg)
341
346
* ` msg ` [ < ; String>]
342
347
Original file line number Diff line number Diff line change @@ -59,6 +59,8 @@ exports.enoughTestCpu = Array.isArray(cpus) &&
59
59
( cpus . length > 1 || cpus [ 0 ] . speed > 999 ) ;
60
60
61
61
exports . rootDir = exports . isWindows ? 'c:\\' : '/' ;
62
+ exports . projectDir = path . resolve ( __dirname , '..' , '..' ) ;
63
+
62
64
exports . buildType = process . config . target_defaults . default_configuration ;
63
65
64
66
// 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