stuff
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { test } from '@japa/runner'
|
||||
|
||||
test.group('Categories', () => {
|
||||
test('get all', async ({ assert, client }) => {
|
||||
const response = await client.get('api/categories')
|
||||
assert.equal(response.status(), 200)
|
||||
assert.isArray(response.body())
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user