mirror of
https://github.com/denoland/deno.git
synced 2024-12-25 16:49:18 -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");
|
||
|
}
|
||
|
});
|