diff --git a/index.js b/index.js new file mode 100644 index 0000000000..6d5f0d5d2e --- /dev/null +++ b/index.js @@ -0,0 +1 @@ +module.exports = require('./dist/cjs/RxNext'); diff --git a/spec/root-module-spec.js b/spec/root-module-spec.js new file mode 100644 index 0000000000..a8f6936a65 --- /dev/null +++ b/spec/root-module-spec.js @@ -0,0 +1,8 @@ +/* globals describe, it, expect */ +var RxNext = require('../index'); + +describe('Root Module', function () { + it('should contain exports from commonjs modules', function () { + expect(typeof RxNext.Observable).toBe('function'); + }); +});