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

Add independent testserver #1672

Merged
merged 3 commits into from
Nov 15, 2022
Merged

Add independent testserver #1672

merged 3 commits into from
Nov 15, 2022

Conversation

jennyliang220
Copy link
Contributor

@jennyliang220 jennyliang220 commented Nov 14, 2022

  • Add testserver, run by npm run testserver to host all the test documents. npm run testserver points to test/lib/testserver.js that can run independently
  • simplify test/rules.js file:
    1. move testserver into test/lib/testserver.js
    2. move common functions into test/lib/util.js
    3. move nock config into test/lib/nockData.js

@jennyliang220 jennyliang220 marked this pull request as ready for review November 14, 2022 05:44
@deniak deniak merged commit fe3ac99 into main Nov 15, 2022
@deniak deniak deleted the test-server branch November 15, 2022 06:32
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