Haha-Yes/node_modules/snekfetch/test/node/sync.test.js

11 lines
241 B
JavaScript
Raw Normal View History

2018-09-06 15:02:53 +02:00
/**
* @jest-environment node
*/
const { SnekfetchSync, TestRoot } = require('../interop');
test('sync get', SnekfetchSync && (() => {
const res = SnekfetchSync.get(`${TestRoot}/get`).end();
expect(res.body).not.toBeUndefined();
}));