Files
Trilium/apps/desktop-e2e/src/desktop/desktop.spec.ts

11 lines
238 B
TypeScript
Raw Normal View History

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' });
});
})