Skip to content

Commit

Permalink
✅ Ship select test helpers
Browse files Browse the repository at this point in the history
The client test helper is useful for mocking the API in consuming packages.

The logger test helper is useful for testing logs in consuming packages.
  • Loading branch information
wwilsman committed Sep 17, 2020
1 parent 477f4fa commit 1378fb1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"license": "MIT",
"main": "dist/index.js",
"files": [
"dist"
"dist",
"test/helper.js"
],
"scripts": {
"build": "babel --root-mode upward src --out-dir dist",
Expand Down
4 changes: 4 additions & 0 deletions packages/logger/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@
"version": "1.0.0-beta.11",
"license": "MIT",
"main": "index.js",
"files": [
"index.js",
"test/helper.js"
],
"scripts": {
"lint": "eslint --ignore-path ../../.gitignore .",
"test": "cross-env NODE_ENV=test mocha",
Expand Down

0 comments on commit 1378fb1

Please sign in to comment.