mirror of
https://github.com/zadam/trilium.git
synced 2025-10-20 07:08:55 +02:00
11 lines
238 B
TypeScript
11 lines
238 B
TypeScript
import axios from 'axios';
|
|
|
|
describe('GET /', () => {
|
|
it('should return a message', async () => {
|
|
const res = await axios.get(`/`);
|
|
|
|
expect(res.status).toBe(200);
|
|
expect(res.data).toEqual({ message: 'Hello API' });
|
|
});
|
|
})
|