From b77c0a57cc089a554ee874ae9ff5ff53e6b5eb99 Mon Sep 17 00:00:00 2001 From: Pitu Date: Mon, 4 Jan 2021 00:48:34 +0900 Subject: feat: add testing capabilities --- src/tests/utils.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/tests/utils.js (limited to 'src/tests/utils.js') diff --git a/src/tests/utils.js b/src/tests/utils.js new file mode 100644 index 0000000..3634ed9 --- /dev/null +++ b/src/tests/utils.js @@ -0,0 +1,11 @@ +const axios = require('axios'); +const instance = axios.create({ + baseURL: 'http://localhost:5000', + headers: { + common: { + accept: 'application/vnd.chibisafe.json' + } + } +}); + +module.exports.axios = instance; -- cgit v1.2.3