2023-08-04 08:30:48 -04:00
|
|
|
// deno-lint-ignore-file no-undef
|
|
|
|
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
|
|
|
|
|
|
|
|
import repl from "node:repl";
|
2023-10-27 10:34:30 -04:00
|
|
|
import { assert } from "../../../test_util/std/assert/mod.ts";
|
2023-08-04 08:30:48 -04:00
|
|
|
|
|
|
|
Deno.test({
|
|
|
|
name: "repl module exports",
|
|
|
|
fn() {
|
|
|
|
assert(typeof repl.REPLServer !== "undefined");
|
|
|
|
assert(typeof repl.start !== "undefined");
|
|
|
|
// @ts-ignore not present in declaration files, but libraries depend on it
|
|
|
|
assert(typeof repl.builtinModules !== "undefined");
|
|
|
|
// @ts-ignore not present in declaration files, but libraries depend on it
|
|
|
|
assert(typeof repl._builtinLibs !== "undefined");
|
|
|
|
},
|
|
|
|
});
|