Skip to content

Fix test:node:persistence command and make travis run it. #1688

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

Merged
merged 3 commits into from
Apr 12, 2019

Conversation

mikelehen
Copy link
Contributor

Since our code is TypeScript we use --require ts-node/register for mocha to
be able to run our code. We have this require in our global
../../config/mocha.node.opts file, but it apparently isn't applied before the
--require test/util/node_persistence.ts in our test:node:persistence
command-line. So I've had to add an explicit --require ts-node/register to
our command-line.

Since our code is TypeScript we use `--require ts-node/register` for mocha to
be able to run our code. We have this require in our global
`../../config/mocha.node.opts` file, but it apparently isn't applied before the
`--require test/util/node_persistence.ts` in our test:node:persistence
command-line. So I've had to add an explicit `--require ts-node/register` to
our command-line.
@mikelehen mikelehen merged commit eaa6aa1 into master Apr 12, 2019
@mikelehen mikelehen deleted the mikelehen/fix-node-persistence-command branch April 12, 2019 23:20
@firebase firebase locked and limited conversation to collaborators Oct 12, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants