Open Tokimon opened 6 years ago
Please make a PR and I will merge it. Not currently using RxJS or marbles, but perhaps in the near future. Thanks.
OK, I changed index.js
to this
module.exports = require('./lib/helpers/test-helper')
Published as version 1.0.1
Thanks.
Problem
When importing the marble tester I end up with:
marbles === undefined
. The reason for this is:require('lib/helpers/test-helper')
fails as it searchs forlib
as a module. Should be:require('./lib/helpers/test-helper')
index.js
doesn't re-export what is exported intest-helper.js
I can access the test tool directly though by using:
import { marbles } from 'rxjs-ava-marble-testing/lib/helpers/test-helper'
Environment
OS: Windows 10 Node: 6.10.0 NPM: 5.4.2 Compiler: Webpack