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 unit tests #22

Merged
merged 1 commit into from
Feb 15, 2023
Merged

Add unit tests #22

merged 1 commit into from
Feb 15, 2023

Conversation

konekoya
Copy link
Owner

No description provided.

@@ -27,17 +29,21 @@
"file-type": "^18.2.0",
"form-data": "^4.0.0",
"inquirer": "^9.1.4",
"ora": "^6.0.1"
"ora": "^6.0.1",
"ts-node": "^10.9.1"
Copy link
Owner Author

Choose a reason for hiding this comment

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

This is needed for jest to run

@@ -15,5 +15,6 @@
"listEmittedFiles": true,
"resolveJsonModule": true
},
"include": ["src/**/*"]
"include": ["src/**/*"],
"exclude": ["src/tests/*", "package.json"]
Copy link
Owner Author

Choose a reason for hiding this comment

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

So these won't get added into the dist dir when building thru TypeScript compiler

@konekoya konekoya merged commit b5c597d into master Feb 15, 2023
@konekoya konekoya deleted the add-tests branch February 15, 2023 07:52
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.

1 participant