Skip to content

Commit

Permalink
fix: import equal function (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yovach authored Oct 28, 2023
2 parents 03bca7e + e6f94fc commit 3253487
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/auto-detect/tests/check-file.test.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const test = require("node:test");
const { readFile } = require("node:fs/promises");
const { doesNotReject, rejects } = require("node:assert");
const { doesNotReject, rejects, equal } = require("node:assert");

test("auto-detect", async (t) => {
await t.test("check file sw.js", async () => {
Expand Down
2 changes: 1 addition & 1 deletion examples/cjs-website/tests/check-file.test.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const test = require("node:test");
const { readFile } = require("node:fs/promises");
const { doesNotReject, rejects } = require("node:assert");
const { doesNotReject, rejects, equal } = require("node:assert");

test("commonjs website", async (t) => {
await t.test("check file sw.js", async () => {
Expand Down
2 changes: 1 addition & 1 deletion examples/next-13/tests/check-file.test.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const test = require("node:test");
const { readFile } = require("node:fs/promises");
const { doesNotReject, rejects } = require("node:assert");
const { doesNotReject, rejects, equal } = require("node:assert");

test("next-13 website", async (t) => {
await t.test("check file sw.js", async () => {
Expand Down
2 changes: 1 addition & 1 deletion examples/no-src-folder/tests/check-file.test.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const test = require("node:test");
const { readFile } = require("node:fs/promises");
const { doesNotReject, rejects } = require("node:assert");
const { doesNotReject, rejects, equal } = require("node:assert");

test("no src folder website", async (t) => {
await t.test("check file sw.js", async () => {
Expand Down
2 changes: 1 addition & 1 deletion examples/pages-router/tests/check-file.test.cjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const test = require("node:test");
const { readFile } = require("node:fs/promises");
const { doesNotReject, rejects } = require("node:assert");
const { doesNotReject, rejects, equal } = require("node:assert");

test("pages router website", async (t) => {
await t.test("check file sw.js", async () => {
Expand Down

0 comments on commit 3253487

Please sign in to comment.