text: Title: Migrate frontend tests to use Jest test style
  Body: ## Description
  We would like to align our tests and make this repository more ready for bun as it looks very promising.
  The first step to do so is to align our current tests to use Jest style syntax only instead of both Chai and Jest syntax.
  
  Basically all instances of:
  ```ts
  expect(result).to.deep.eq()
  ```
  Should be switched to:
  ```ts
  expect(result).toEqual()
  ```
  
  Both are supported by vitest so there should be no conflicts in doing this step by step.