Skip to main content
Go to Latest
File
import { assertEquals } from 'https://deno.land/std@v0.176.0/testing/asserts.ts'import { Client } from './client/mod.ts'
Deno.test('api', async () => { const client = new Client({ base: 'http://127.0.0.1:8787' })
const res1 = await client.get('/query_validation?dev=true', { type: 'json' })
assertEquals(res1.data, { isOk: true })})