Remove mac-ca usage since it was only in tests (#6043)

* Make injecting CAs injectable, remove mac-ca as dependency

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix win-ca failing on electron renderer on windows

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix the matcher under features/ for main

Signed-off-by: Sebastian Malton <sebastian@malton.name>

* Fix lint

Signed-off-by: Sebastian Malton <sebastian@malton.name>

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-10-03 10:41:59 -04:00
1 parent b9cc0d5687
commit f544386619
25 files changed
+250 -262

No files matched your search

+3 -4
View File
@@ -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",
@@ -40,7 +39,7 @@ describe("isLogicalChildPath", () => {
});
});
describeIf(!isWindows)("posix tests", () => {
describeIf(process.platform !== "win32")("posix tests", () => {
it.each([
{
parentPath: "/foo",