From f09577524b034a3803af92e2baa14ef6c659619f Mon Sep 17 00:00:00 2001 From: akira-cn Date: Fri, 11 Aug 2023 12:47:11 +0800 Subject: [PATCH] update nitro-test --- test/nitro-test/package.json | 2 +- test/nitro-test/routes/index.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/nitro-test/package.json b/test/nitro-test/package.json index 79e4b53..f1242b7 100644 --- a/test/nitro-test/package.json +++ b/test/nitro-test/package.json @@ -7,7 +7,7 @@ "preview": "node .output/server/index.mjs" }, "dependencies": { - "es-modular": "^0.2.2", + "http-modular": "^0.2.0", "nitropack": "latest" } } diff --git a/test/nitro-test/routes/index.ts b/test/nitro-test/routes/index.ts index e0e8a9a..7f11e54 100644 --- a/test/nitro-test/routes/index.ts +++ b/test/nitro-test/routes/index.ts @@ -6,7 +6,7 @@ // console.log(await readBody(event)); // return { nitro: 'Is Awesome!' } // }) -import { modular, context, config } from "es-modular"; +import { modular, context, config } from "http-modular"; function add(x, y) { return x + y;