Skip to content

Commit fe089c6

Browse files
committed
Remove test
1 parent 26f7760 commit fe089c6

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

packages/app/src/cli/services/dev/processes/dev-session.test.ts

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
testAppAccessConfigExtension,
88
testAppLinked,
99
testDeveloperPlatformClient,
10-
testFunctionExtension,
1110
testUIExtension,
1211
testWebhookExtensions,
1312
} from '../../../models/app/app.test-data.js'
@@ -206,21 +205,4 @@ describe('pushUpdatesForDevSession', () => {
206205
expect(developerPlatformClient.refreshToken).toHaveBeenCalledOnce()
207206
expect(developerPlatformClient.devSessionUpdate).toHaveBeenCalledTimes(2)
208207
})
209-
210-
test('prints build errors', async () => {
211-
// Given
212-
const extension = await testFunctionExtension()
213-
const event = {app, extensionEvents: [{type: 'updated', extension, buildResult: {status: 'error'}}]}
214-
215-
// When
216-
try {
217-
await pushUpdatesForDevSession({stderr, stdout, abortSignal: abortController.signal}, options)
218-
appWatcher.emit('ready', event)
219-
await flushPromises()
220-
// eslint-disable-next-line no-catch-all/no-catch-all
221-
} catch (error: any) {
222-
expect(error.message).toBe('Dev session aborted, build errors detected in extensions')
223-
}
224-
expect(developerPlatformClient.devSessionCreate).not.toHaveBeenCalled()
225-
})
226208
})

0 commit comments

Comments
 (0)