import { Config } from '@jest/types' ; import { destroyServer } from './puppeteer' ; export default async ( globalConfig ) => { if ( ! globalConfig . watchAll && ! globalConfig . watch ) { await destroyServer ( globalConfig ) ; } } ;