ghost-portal/jest/globalTeardown.ts
2021-01-03 11:33:39 +01:00

15 lines
375 B
TypeScript

// Copyright 2017-2021 @polkadot/apps authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { SubstrateTestsGlobal } from './substrateTestsGlobal';
declare const global: SubstrateTestsGlobal;
export default async (): Promise<void> => {
console.log('Shutting down Substrate container...');
await global.__SUBSTRATE__.stop();
console.log('Done.');
};