Skip to content

Commit

Permalink
More squawkless tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Jan 31, 2022
1 parent 0cd353d commit e50ea88
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/core/rpc/BaseRpcDriver.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ export class MockRendererShort extends RpcMethodType {

test('test RPC driver operation timeout and worker replace', async () => {
console.error = jest.fn()
console.warn = jest.fn()
expect.assertions(1)
const config = ConfigurationSchema('Mock', {}).create()
const driver = new MockRpcDriver({ config })
Expand All @@ -158,6 +159,7 @@ test('test RPC driver operation timeout and worker replace', async () => {

test('remote abort', async () => {
console.error = jest.fn()
console.warn = jest.fn()
expect.assertions(1)
const config = ConfigurationSchema('Mock', {}).create()
const driver = new MockRpcDriver({ config })
Expand Down

0 comments on commit e50ea88

Please sign in to comment.