UNPKG

@itwin/object-storage-tests-backend

Version:

Tests for generic storage packages

24 lines 1.17 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.testLocalFileManager = exports.testDirectoryManager = void 0; /*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------------------------------------------------------------------------------*/ const path = require("path"); const utils_1 = require("./utils"); exports.testDirectoryManager = new utils_1.TestRemoteDirectoryManager(); exports.testLocalFileManager = new utils_1.TestLocalFileManager(path.join(process.cwd(), "lib", "tempFiles")); beforeEach(async () => { await Promise.all([ exports.testDirectoryManager.purgeCreatedDirectories(), exports.testLocalFileManager.purgeCreatedFiles(), ]); }); after(async () => { await Promise.all([ exports.testDirectoryManager.purgeCreatedDirectories(), exports.testLocalFileManager.purgeCreatedFiles(), ]); }); //# sourceMappingURL=Global.test.js.map