-
Notifications
You must be signed in to change notification settings - Fork 534
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor/tests #883
Refactor/tests #883
Conversation
d770956
to
a3c64f9
Compare
Maybe move |
029ba0d
to
6b084c5
Compare
df75772
to
db9eaf9
Compare
@@ -1373,154 +1351,6 @@ test('`wizard` for unsupported package managers', async (t) => { | |||
}); | |||
}); | |||
|
|||
test('`protect` for unsupported package managers', async (t) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These tests are already in cli-protect.test.ts
@@ -949,29 +950,6 @@ test('`monitor golang-app --file=vendor/vendor.json`', async (t) => { | |||
); | |||
}); | |||
|
|||
test('`test cocoapods-app (autodetect)`', async (t) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
moved to cli-test
@@ -1535,51 +1365,6 @@ function stubExec(t, execOutputFile) { | |||
}); | |||
} | |||
|
|||
test('error 401 handling', async (t) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These are already in cli-test
tests
const after = tap.runOnly ? only : test; | ||
|
||
// Should be after `process.env` setup. | ||
import * as plugins from '../../../src/lib/plugins/index'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a nit peak, nothing more. Cos import will by default import index
file. You can remove all the index
occurrences
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart from small nit pick, LGMT
35a15d3
to
cd6d0fb
Compare
cd6d0fb
to
b7ea65c
Compare
🎉 This PR is included in version 1.252.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What does this PR do?
Refactor of tests