Skip to content

Commit

Permalink
Fix gql app tests and bump happy-dom version
Browse files Browse the repository at this point in the history
  • Loading branch information
hnnasit committed Nov 16, 2024
1 parent d0493b7 commit 38506b6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"babel-eslint": "^10.1.0",
"eslint": "^7.32.0",
"eslint-plugin-vue": "^7.18.0",
"happy-dom": "^9.20.3",
"happy-dom": "^15.10.2",
"vitest": "^0.31.1",
"vue-template-compiler": "^2.6.14"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

import { lambdaHandler } from "../../app.mjs";
import { expect } from "chai";
import { createRequire } from 'module';

import event from "../events/appsync.json" assert { type: "json" };
const require = createRequire(import.meta.url);
const event = require('../events/appsync.json');

const context = {};

Expand Down

0 comments on commit 38506b6

Please sign in to comment.