-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hello,
I'd like to use power-assert on non-testing code (I mean it's normal server-side code) of TypeScript + Node.js. I couldn't find a proper way to do that (an example included in README of this project is using mocha) and am also very newbie about power-assert technology, so I randomly tried by myself and found a way.
Could you please review it? I'd like to contribute by creating a good example or adding usage to README so that other people who have same purpose can easily use this library.
Here's the example (somewhat working but maybe not ideal). Is it an intended or acceptable way?
https://github.com/qsona/power-assert-typescript-node-seed/pull/1/files
- running code with
ts-node --require tsnodeconfig.ts - run
require('espower-typescript')and call it withpatternoption intsnodeconfig.ts
twada
Metadata
Metadata
Assignees
Labels
No labels