1 2 3 4 5 6 7 8 9 10
/** * @jest-environment node */ const { SnekfetchSync, TestRoot } = require('../interop'); test('sync get', SnekfetchSync && (() => { const res = SnekfetchSync.get(`${TestRoot}/get`).end(); expect(res.body).not.toBeUndefined(); }));