fix(core): update

This commit is contained in:
2020-07-08 02:15:14 +00:00
parent 94360ff1da
commit 99afb573cd
4 changed files with 6801 additions and 841 deletions

16
test/test.browser.ts Normal file
View File

@ -0,0 +1,16 @@
import { expect, tap } from '@pushrocks/tapbundle';
import * as webrequest from '../ts/index';
tap.test('first test', async tools => {
const done = tools.defer();
const response = await new webrequest.WebRequest().request([
'https://lossless.com'
], {
method: 'GET'
}).catch(e => {
done.resolve();
});
await done.promise;
});
tap.start();