Files
2026-01-12 13:12:46 +01:00

17 lines
302 B
JavaScript

'use strict'
const { test } = require('tap')
const Request = require('../lib/request')
test('aborted property should be false', async (t) => {
const mockReq = {
url: 'http://localhost',
method: 'GET',
headers: {}
}
const req = new Request(mockReq)
t.same(req.aborted, false)
})