mirror of
https://github.com/denoland/deno.git
synced 2024-12-20 22:34:46 -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");
|
||
|
}
|
||
|
});
|