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

Feature: first option require #5

Merged
merged 4 commits into from
Dec 25, 2019
Merged

Feature: first option require #5

merged 4 commits into from
Dec 25, 2019

Conversation

karfau
Copy link
Owner

@karfau karfau commented Dec 25, 2019

Allow requiring any module, e.g. to be able to require .tsx? files with ts-node.

added dependencies:

  • commander provides nice way of printing usage information from the configuration,
    and is actively maintained, well documented and has no dependencies

added devDependencies

  • testdouble good enough for what I need, much less dependencies then sinon

  • ts-node (was already present via tap, but now it's explicit

  • example/sum.ts shows how to run typescript modules using ts-node

  • test.command.js remove timeout option

    • when the timeout happened there was no indication of it so it was very "mysterious"
    • node is sending SIGTERM in that case, assertStdout now also checks for that

- when the timeout happened there was no indication of it so it was very "mysterious"
- node is sending `SIGTERM` in that case, `assertStdout` now also checks for that
Allow requiring any module, e.g. to be able to require `.tsx?` files with ts-node.

+ `dependencies`:
- `commander` provides nice way of printing usage information from the configuration,
  and is actively maintained, well documented and has no dependencies

+ `devDependencies`
- `testdouble` good enough for what I need, much less dependencies then sinon
- `ts-node` (was already present via `tap`, but now it's explicit
@karfau karfau merged commit d24bcd3 into master Dec 25, 2019
@karfau karfau deleted the feature/option-require branch December 25, 2019 23:50
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