Skip to content

Commit

Permalink
Fix build issue
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Malton <sebastian@malton.name>
  • Loading branch information
Nokel81 committed Aug 18, 2022
1 parent a9f4bce commit 732124d
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/common/utils/__tests__/paths.test.ts
Expand Up @@ -3,12 +3,11 @@
* Licensed under MIT License. See LICENSE in root directory for more information.
*/

import { describeIf } from "../../../../integration/helpers/utils";
import { isWindows } from "../../vars";
import { describeIf } from "../../../test-utils/skippers";
import { isLogicalChildPath } from "../paths";

describe("isLogicalChildPath", () => {
describeIf(isWindows)("windows tests", () => {
describeIf(process.platform === "win32")("windows tests", () => {
it.each([
{
parentPath: "C:\\Foo",
Expand Down Expand Up @@ -40,7 +39,7 @@ describe("isLogicalChildPath", () => {
});
});

describeIf(!isWindows)("posix tests", () => {
describeIf(process.platform !== "win32")("posix tests", () => {
it.each([
{
parentPath: "/foo",
Expand Down

0 comments on commit 732124d

Please sign in to comment.