forked from Supositware/Haha-Yes
11 lines
241 B
JavaScript
11 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();
|
||
|
}));
|