Skip to content

Commit

Permalink
fix chai-subset tests
Browse files Browse the repository at this point in the history
  • Loading branch information
koddsson committed May 20, 2024
1 parent ef41756 commit e31b9a6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/subset.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { expect } from "../index.js";
import { assert, expect } from "../index.js";

describe("plain object", function () {
var testedObject = {
Expand Down Expand Up @@ -146,7 +146,6 @@ describe("comparison of non objects", function () {

describe("assert style of test", function () {
it("should find subset", function () {
var assert = require("chai").assert;
assert.containSubset({ a: 1, b: 2 }, { a: 1 });
});
});
Expand Down

0 comments on commit e31b9a6

Please sign in to comment.