Skip to content

Commit 17f4152

Browse files
committed
verify once
1 parent 2badcfd commit 17f4152

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

packages/compass-e2e-tests/smoke-test.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,7 @@ async function run() {
148148
extension,
149149
});
150150

151-
if (context.skipDownload) {
152-
verifyPackagesExist(packages);
153-
} else {
151+
if (!context.skipDownload) {
154152
await Promise.all(
155153
packages.map(async ({ name, filepath }) => {
156154
await fs.mkdir(path.dirname(filepath), { recursive: true });
@@ -159,9 +157,10 @@ async function run() {
159157
return downloadFile(url, filepath);
160158
})
161159
);
162-
verifyPackagesExist(packages);
163160
}
164161

162+
verifyPackagesExist(packages);
163+
165164
// TODO(COMPASS-8533): extract or install each package and then test the Compass binary
166165
}
167166

0 commit comments

Comments
 (0)