Skip to content

Commit c394663

Browse files
committed
test: don't check if plugin is on npm when it's DEACTIVATED
1 parent 0b5239b commit c394663

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/main.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,13 @@ pluginsList.forEach((plugin) => {
7979
})
8080
})
8181

82-
test(`Plugin package should be published: ${packageName}`, async (t) => {
83-
t.is(typeof version, 'string')
84-
t.not(validVersion(version), null)
85-
await t.notThrowsAsync(manifest(`${packageName}@${version}`))
86-
})
87-
8882
if (status !== 'DEACTIVATED') {
83+
test(`Plugin package should be published: ${packageName}`, async (t) => {
84+
t.is(typeof version, 'string')
85+
t.not(validVersion(version), null)
86+
await t.notThrowsAsync(manifest(`${packageName}@${version}`))
87+
})
88+
8989
test(`Plugin repository URL should be valid: ${packageName}`, async (t) => {
9090
await t.notThrowsAsync(got(repo))
9191
})

0 commit comments

Comments
 (0)