jan/web/helpers/atoms/App.atom.test.ts
Louis 302b73ae73
test: add web helpers, services, utils tests (#3669)
* test: add web helpers tests

* fix: coverage report

* test: add more tests

* test: add more generated tests

* chore: add more tests

* test: add more tests
2024-09-20 14:24:51 +07:00

9 lines
251 B
TypeScript

import { mainViewStateAtom } from './App.atom';
import { MainViewState } from '@/constants/screens';
test('mainViewStateAtom initializes with Thread', () => {
const result = mainViewStateAtom.init;
expect(result).toBe(MainViewState.Thread);
});