mirror of
https://github.com/denoland/deno.git
synced 2024-11-29 16:30:56 -05:00
9 lines
170 B
TypeScript
9 lines
170 B
TypeScript
|
import * as path from "node:path";
|
||
|
|
||
|
Deno.test(function test() {
|
||
|
const res = path.join("foo", "bar");
|
||
|
if (!res.includes("foo")) {
|
||
|
throw new Error("fail");
|
||
|
}
|
||
|
});
|