diff --git a/services/offline/src/__tests__/integration.test.tsx b/services/offline/src/__tests__/integration.test.tsx index db760d77..35acf671 100644 --- a/services/offline/src/__tests__/integration.test.tsx +++ b/services/offline/src/__tests__/integration.test.tsx @@ -112,7 +112,7 @@ describe('Coordination between useCacheableSection and CacheableSection', () => expect(getByTestId(/controls-rc/)).toBeInTheDocument() }) - it.skip('handles a successful recording', async (done) => { + it('handles a successful recording', async (done) => { const { getByTestId, queryByTestId } = screen const onStarted = () => { @@ -147,7 +147,7 @@ describe('Coordination between useCacheableSection and CacheableSection', () => expect.assertions(7) }) - it.skip('handles a recording that encounters an error', async (done) => { + it('handles a recording that encounters an error', async (done) => { // Suppress the expected error from console (in addition to 'act' warning) jest.spyOn(console, 'error').mockImplementation((...args) => { const actPattern = @@ -255,7 +255,7 @@ describe('Performant state management', () => { expect(getByTestId('section-rc-2')).toHaveTextContent('1') }) - it.skip('isolates rerenders from other consumers', async (done) => { + it('isolates rerenders from other consumers', async (done) => { const { getByTestId } = screen // Make assertions const onCompleted = () => { @@ -300,7 +300,7 @@ describe('useCacheableSection can be used inside a child of CacheableSection', ( ) } - it.skip('handles a successful recording', async (done) => { + it('handles a successful recording', async (done) => { const { getByTestId, queryByTestId, findByTestId } = screen const onStarted = async () => { @@ -326,9 +326,9 @@ describe('useCacheableSection can be used inside a child of CacheableSection', ( render() - // await act(async () => { - await fireEvent.click(getByTestId(/start-recording/)) - // }) + await act(async () => { + await fireEvent.click(getByTestId(/start-recording/)) + }) await waitFor(() => { // At this stage, should be pending