We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecb53e1 commit 6097a3cCopy full SHA for 6097a3c
test/routes-test.js
@@ -59,3 +59,10 @@ test('regex test', async t => {
59
const result = await axios.post(`${url}/${config.token}`, payload)
60
t.is(result.status, 204)
61
})
62
+
63
+test('ping route', async t => {
64
+ const url = await getUrl(srv)
65
+ const { data } = await axios.get(url + '/ping')
66
+ console.log(data)
67
+ t.is(data, 'pong')
68
+})
0 commit comments