From 1e1abbe1a28c5176b22d8e74d1083a4c0ae187b4 Mon Sep 17 00:00:00 2001 From: James Garbutt <43081j@users.noreply.github.com> Date: Mon, 2 Sep 2024 16:47:10 +0700 Subject: [PATCH] chore: use same import style as readme (#340) --- test/bootstrap/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/bootstrap/index.js b/test/bootstrap/index.js index 8c890b6..fb26e17 100644 --- a/test/bootstrap/index.js +++ b/test/bootstrap/index.js @@ -1,7 +1,7 @@ import * as originalChai from 'chai'; import * as http from 'http'; // this import is available from defining `imports` in package.json -import project, { request } from 'chai-http'; +import {default as project, request } from 'chai-http'; global.http = http;