mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -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");
|
||
|
}
|
||
|
});
|