From e2c79819751454dbd1a939610d66e940b5dfb73d Mon Sep 17 00:00:00 2001 From: beyondkmp Date: Sun, 6 Oct 2024 20:37:52 +0800 Subject: [PATCH] fix ut --- test/snapshots/ignoreTest.js.snap | 12 ------------ test/src/ignoreTest.ts | 1 + 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/test/snapshots/ignoreTest.js.snap b/test/snapshots/ignoreTest.js.snap index c2543ed1d83..299ed97f063 100644 --- a/test/snapshots/ignoreTest.js.snap +++ b/test/snapshots/ignoreTest.js.snap @@ -6,18 +6,6 @@ Object { } `; -exports[`copied all submodule node_modules 1`] = ` -Object { - "linux": Array [], -} -`; - -exports[`copied no submodule node_modules 1`] = ` -Object { - "linux": Array [], -} -`; - exports[`copied select submodule node_modules 1`] = ` Object { "linux": Array [], diff --git a/test/src/ignoreTest.ts b/test/src/ignoreTest.ts index c810e9d3afa..4f44fa3eba6 100644 --- a/test/src/ignoreTest.ts +++ b/test/src/ignoreTest.ts @@ -83,6 +83,7 @@ test.ifNotCiMac( targets: Platform.LINUX.createTarget(DIR_TARGET), config: { asar: false, + files: ["**/*", "**/submodule-1-test/node_modules/**"], }, }, {