Files
paprika-api/tests/unit/restaurant_menu_items/create.spec.ts
T
2026-03-21 12:34:22 +01:00

10 lines
273 B
TypeScript
Executable File

import { test } from '@japa/runner'
test.group('Restaurant menu items', () => {
test('get all', async ({ assert, client }) => {
const response = await client.get('/api/menu-items')
assert.equal(response.status(), 200)
assert.isArray(response.body())
})
})