replace jest with ava
This commit is contained in:
parent
27cc8b23fe
commit
0347b72305
11775 changed files with 84546 additions and 1440575 deletions
13
node_modules/temp-dir/index.js
generated
vendored
Normal file
13
node_modules/temp-dir/index.js
generated
vendored
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
'use strict';
|
||||
const fs = require('fs');
|
||||
const os = require('os');
|
||||
|
||||
const tempDirectorySymbol = Symbol.for('__RESOLVED_TEMP_DIRECTORY__');
|
||||
|
||||
if (!global[tempDirectorySymbol]) {
|
||||
Object.defineProperty(global, tempDirectorySymbol, {
|
||||
value: fs.realpathSync(os.tmpdir())
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = global[tempDirectorySymbol];
|
||||
Loading…
Add table
Add a link
Reference in a new issue