import { setupServer } from 'msw/node' ; import { datadogPlugin } from './plugin' ; describe ( 'datadog' , ( ) => { const worker = setupServer ( ) ; beforeAll ( ( ) => worker . listen ( ) ) ; afterAll ( ( ) => worker . close ( ) ) ; afterEach ( ( ) => worker . resetHandlers ( ) ) ; beforeEach ( ( ) => { jest . resetAllMocks ( ) ; } ) ; describe ( 'export-plugin' , ( ) => { it ( 'should export plugin' , ( ) => { expect ( datadogPlugin ) . toBeDefined ( ) ; } ) ; } ) ; } ) ;