Haha-Yes/node_modules/snekfetch/test/node/sync.test.js
2018-09-06 15:02:53 +02:00

10 lines
241 B
JavaScript

/**
* @jest-environment node
*/
const { SnekfetchSync, TestRoot } = require('../interop');
test('sync get', SnekfetchSync && (() => {
const res = SnekfetchSync.get(`${TestRoot}/get`).end();
expect(res.body).not.toBeUndefined();
}));