-
Notifications
You must be signed in to change notification settings - Fork 16
Conversation
test/node.ts
Outdated
@@ -0,0 +1,6 @@ | |||
/* eslint-env mocha */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider a different name for this file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The name seems to be the norm for aegir test
, which I'm borrowing from *star.
If I just rename it without doing stuff to the package.json I get
Error: No test files found
Command failed with exit code 1: mocha test/node.{js,cjs,mjs} test/**/*.spec.{js,cjs,mjs} dist/test/node.{js,cjs,mjs} dist/test/**/*.spec.{js,cjs,mjs} --ui bdd --require source-map-support/register --timeout=60000 --bail
error Command failed with exit code 1.
I think I can make it work, though.
$./node_modules/.bin/mocha dist/test/notnode.js
0 passing (2ms)
Do you have a preferred name? tests.ts ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If there will only be a single file in this folder, maybe index.ts
? If you'll mix unit and e2e, then unit.ts
.
Moved to #4 during branch rename. |
TODO