Skip to content

Commit

Permalink
check
Browse files Browse the repository at this point in the history
  • Loading branch information
uga-rosa committed Dec 7, 2023
1 parent 96f87ed commit 77a2b44
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions denops/denippet/loader_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,16 @@ import { Loader } from "./loader.ts";
import { op, test } from "./deps/denops.ts";
import { assertEquals, path } from "./deps/std.ts";

const testDataDir = new URL("../../test/data", import.meta.url).pathname;

test({
mode: "all",
name: "loader",
fn: async (denops, t) => {
console.log(path.fromFileUrl(new URL("../..", import.meta.url)));
const testDataDir = path.join(
path.fromFileUrl(new URL("../..", import.meta.url)),
"test",
"data",
);
const loader = new Loader(denops);

await loader.load(path.join(testDataDir, "global.json"), "*");
Expand Down

0 comments on commit 77a2b44

Please sign in to comment.