Skip to content

Commit 4ad9bef

Browse files
committed
1 parent 0ea013a commit 4ad9bef

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

node/node-tests.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ assert.equal(3, "3", "uses == comparator");
2323

2424
assert.notStrictEqual(2, "2", "uses === comparator");
2525

26+
assert.notDeepStrictEqual({ x: { y: "3" } }, { x: { y: 3 } }, "uses === comparator");
27+
2628
assert.throws(() => { throw "a hammer at your face"; }, undefined, "DODGED IT");
2729

2830
assert.doesNotThrow(() => {

node/node.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ declare module "http" {
430430
import * as events from "events";
431431
import * as net from "net";
432432
import * as stream from "stream";
433-
433+
434434
export interface RequestOptions {
435435
protocol?: string;
436436
host?: string;
@@ -1808,6 +1808,8 @@ declare module "assert" {
18081808
export function notDeepEqual(acutal: any, expected: any, message?: string): void;
18091809
export function strictEqual(actual: any, expected: any, message?: string): void;
18101810
export function notStrictEqual(actual: any, expected: any, message?: string): void;
1811+
export function deepStrictEqual(actual: any, expected: any, message?: string): void;
1812+
export function notDeepStrictEqual(actual: any, expected: any, message?: string): void;
18111813
export var throws: {
18121814
(block: Function, message?: string): void;
18131815
(block: Function, error: Function, message?: string): void;

0 commit comments

Comments
 (0)