Skip to content

Commit

Permalink
backfill tests
Browse files Browse the repository at this point in the history
  • Loading branch information
shogunpurple committed Dec 9, 2024
1 parent 1d0b7d8 commit bca9bd2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions packages/server/src/migrations/tests/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,16 +73,12 @@ describe("migrations", () => {
expect(events.query.created).toHaveBeenCalledTimes(2)
expect(events.role.created).toHaveBeenCalledTimes(3) // created roles + admin (created on table creation)
expect(events.table.created).toHaveBeenCalledTimes(3)
expect(events.view.created).toHaveBeenCalledTimes(2)
expect(events.view.calculationCreated).toHaveBeenCalledTimes(1)
expect(events.view.filterCreated).toHaveBeenCalledTimes(1)
expect(events.screen.created).toHaveBeenCalledTimes(2)
expect(events.backfill.appSucceeded).toHaveBeenCalledTimes(2)

// to make sure caching is working as expected
expect(
events.processors.analyticsProcessor.processEvent
).toHaveBeenCalledTimes(24) // Addtion of of the events above
).toHaveBeenCalledTimes(20) // Addition of of the events above
})
})
})
Expand Down

0 comments on commit bca9bd2

Please sign in to comment.