Skip to content

Commit

Permalink
test: resolve paths
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushmanchhabra committed Nov 13, 2023
1 parent 6be8a17 commit c758b33
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/get.js
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ async function getNodeHeaders({
"common.gypi",
) +
" " +
resolve("..", "..", "patches", "node_header.patch"),
resolve("patches", "node_header.patch"),
(error) => {
log.error(error);
},
Expand Down
6 changes: 3 additions & 3 deletions test/e2e/addon.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ describe("node native addon", async () => {
let driver = undefined;

let nwOptions = {
srcDir: "test/fixture/gyp",
srcDir: resolve("test/fixture/gyp"),
mode: "build",
version: "0.81.0",
flavor: "sdk",
platform: getPlatform(platform),
arch: getArch(arch),
outDir: "test/fixture/out/gyp",
cacheDir: "test/fixture/cache",
outDir: resolve("test/fixture/out/gyp"),
cacheDir: resolve("test/fixture/cache"),
glob: false,
nativeAddon: "gyp",
};
Expand Down
6 changes: 3 additions & 3 deletions test/e2e/mode.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ describe("test modes", async () => {
let driver = undefined;

let nwOptions = {
srcDir: "test/fixture/app",
srcDir: resolve("test/fixture/app"),
mode: "build",
version: "0.81.0",
flavor: "sdk",
platform: getPlatform(platform),
arch: getArch(arch),
outDir: "test/fixture/out/app",
cacheDir: "test/fixture/cache",
outDir: resolve("test/fixture/out/app"),
cacheDir: resolve("test/fixture/cache"),
glob: false,
};

Expand Down

0 comments on commit c758b33

Please sign in to comment.