mirror of
https://github.com/denoland/deno.git
synced 2024-12-29 02:29:06 -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");
|
||
|
}
|
||
|
});
|