Tools for learning Japanese.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
375 B

  1. import { describe, it, expect } from 'vitest';
  2. import SERVER from '../src/server';
  3. import '../src/routes';
  4. describe('Example', () => {
  5. it('should have the expected content', async () => {
  6. const response = await SERVER
  7. .inject()
  8. .get('/')
  9. .headers({
  10. 'Accept': 'application/json',
  11. });
  12. expect(response.statusCode).toBe(200);
  13. });
  14. });