Skip to content

Commit

Permalink
test: mock ping-controller
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmahidalgo committed Apr 18, 2024
1 parent 61d7fb5 commit d47e9b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/integration/ping-controller.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
import { test } from '../components'

test('integration sanity tests using a real server backend', function ({ components, spyComponents }) {
beforeEach(() => {
jest.spyOn(components.catalog, 'updateBuilderServerItemsView').mockResolvedValue(undefined)
})
it('responds /ping', async () => {
const { localFetch } = components

Expand Down

0 comments on commit d47e9b3

Please sign in to comment.