mirror of
https://github.com/denoland/deno.git
synced 2024-11-30 16:40:57 -05:00
c765d9ad2f
There is no constructor code when creating an inspector `Session` instance in Node. Also get rid of some symbols which should've been private properties. This PR doesn't yet add any new implementations though as these are mostly cosmetic changes.
11 lines
400 B
TypeScript
11 lines
400 B
TypeScript
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
|
import inspector, { Session } from "node:inspector";
|
|
import { assertEquals } from "@std/assert/equals";
|
|
|
|
Deno.test("[node/inspector] - importing inspector works", () => {
|
|
assertEquals(typeof inspector.open, "function");
|
|
});
|
|
|
|
Deno.test("[node/inspector] - Session constructor should not throw", () => {
|
|
new Session();
|
|
});
|