tests: update cjs tests to use require

This commit is contained in:
Richard Moore 2023-04-22 18:59:18 +09:00
parent f701f390cc
commit 8fcbd9cac4
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import { ethers } from "ethers";
const { ethers } = require("ethers");
console.log("Version:", ethers.version);

View File

@ -1,4 +1,4 @@
import { ethers } from "ethers";
const { ethers } = require("ethers");
console.log("Version:", ethers.version);