* React tests PoC. * Globally start and stop substrate for all tests. * Fix compilation problem. * Another attempt to make both compilation and tests work. * Apply suggestions from code review * Run slow tests with docker only nightly. * Update yarn.lock. Co-authored-by: Jaco Greeff <jacogr@gmail.com>
16 lines
473 B
TypeScript
16 lines
473 B
TypeScript
// Copyright 2017-2020 @polkadot/app-accounts authors & contributors
|
|
// This software may be modified and distributed under the terms
|
|
// of the Apache-2.0 license. See the LICENSE file for details.
|
|
|
|
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.');
|
|
};
|