1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-02 13:24:20 +01:00
fab-manager/test/frontend/__fixtures__/groups.ts
Sylvain 7d83d6454f (test) Jest + react-testing-library
This commit aims to put a testing environment in place
for frontend react components using the de-facto standards
for our stack.

An example test file was writter for the component plan-form.tsx.
Some fixtures for some API endpoints were written (see
__setup__/server.js)
2022-12-21 14:14:22 +01:00

9 lines
265 B
TypeScript

import { Group } from '../../../app/frontend/src/javascript/models/group';
const groups: Array<Group> = [
{ id: 1, slug: 'standard', name: 'Standard', disabled: false },
{ id: 2, slug: 'students', name: 'Students', disabled: false }
];
export default groups;