Skip to content
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

feat: support mocker config in the command line #145

Merged
merged 1 commit into from
Oct 27, 2020
Merged

feat: support mocker config in the command line #145

merged 1 commit into from
Oct 27, 2020

Conversation

vanpipy
Copy link
Contributor

@vanpipy vanpipy commented Oct 27, 2020

For #144

@vanpipy vanpipy marked this pull request as ready for review October 27, 2020 02:35
@@ -47,5 +47,8 @@
"http-proxy": "1.18.1",
"local-ip-url": "1.0.3",
"path-to-regexp": "6.2.0"
},
"devDependencies": {
"minimist": "^1.2.5"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vanpipy

- "devDependencies": {
-    "minimist": "^1.2.5"
- }
+ "dependencies": {
+    "minimist": "^1.2.5"
      ....
+ }

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the devDependencies and move the miniimst into dependencies already.

@vanpipy
Copy link
Contributor Author

vanpipy commented Oct 27, 2020

Here, I have a question is that the unit test. Although I run the code build and debug through the use case follow the document, I cannot ensure the code changed runs is the same as the original code. Can I add some basic some unit tests in the project for the current file?

@jaywcjlove
Copy link
Owner

@vanpipy sure, welcome to add unit tests.

@jaywcjlove jaywcjlove merged commit b233b66 into jaywcjlove:master Oct 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants