ghost-portal/jest/globalTeardown.ts
2020-09-17 16:46:46 +02:00

15 lines
383 B
TypeScript

// Copyright 2017-2020 @polkadot/app-accounts 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.');
};