import fs = require ( 'fs' ) ; import path = require ( 'path' ) ; import chai = require ( 'chai' ) ; import chaiAsPromised = require ( 'chai-as-promised' ) ; import { rootPath } from '../index' ; chai . use ( chaiAsPromised ) ; const should = chai . should ( ) ; const testArtifactsDir = path . join ( rootPath , 'test' , 'artifacts.test.tmp' ) ; const testRootPath = path . join ( testArtifactsDir , ( + new Date ( ) ) . toString ( ) ) ; fs . mkdirSync ( testArtifactsDir , { recursive : true } ) ; fs . mkdirSync ( testRootPath , { recursive : true } ) ; export { should } ; export { testRootPath as rootPath } ;