mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
This reverts commit f544386619.
Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
1a8f80a5e9
commit
ed073d6562
25 files changed
+262
-250
No files matched your search
@@ -3,11 +3,12 @@
|
||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||
*/
|
||||
|
||||
import { describeIf } from "../../../test-utils/skippers";
|
||||
import { describeIf } from "../../../../integration/helpers/utils";
|
||||
import { isWindows } from "../../vars";
|
||||
import { isLogicalChildPath } from "../paths";
|
||||
|
||||
describe("isLogicalChildPath", () => {
|
||||
describeIf(process.platform === "win32")("windows tests", () => {
|
||||
describeIf(isWindows)("windows tests", () => {
|
||||
it.each([
|
||||
{
|
||||
parentPath: "C:\\Foo",
|
||||
@@ -39,7 +40,7 @@ describe("isLogicalChildPath", () => {
|
||||
});
|
||||
});
|
||||
|
||||
describeIf(process.platform !== "win32")("posix tests", () => {
|
||||
describeIf(!isWindows)("posix tests", () => {
|
||||
it.each([
|
||||
{
|
||||
parentPath: "/foo",
|
||||
|
||||
Reference in new issue
Block a user