redux-ab-test
Version:
A/B testing React components with Redux and debug tools. Isomorphic with a simple, universal interface. Well documented and lightweight. Tested in popular browsers and Node.js. Includes helpers for React, Redux, and Segment.io
51 lines (49 loc) • 1.53 kB
JavaScript
var _index = require('./index');
describe.skip('(Root) src/index.js', function () {
it('module export Experiment', function () {
expect(_index.Experiment).to.exist;
});
it('module export Variation', function () {
expect(_index.Variation).to.exist;
});
it('module export Debugger', function () {
expect(_index.Debugger).to.not.exist;
});
it.skip('module export VariationType', function () {
expect(_index.VariationType).to.not.exist;
});
it.skip('module export ExperimentType', function () {
expect(_index.ExperimentType).to.not.exist;
});
it('module export reduxAbTest', function () {
expect(_index.reduxAbTest).to.exist;
});
it('module export reduxAbTestInitialState', function () {
expect(_index.reduxAbTestInitialState).to.exist;
});
it('module export reduxAbTestMiddleware', function () {
expect(_index.reduxAbTestMiddleware).to.exist;
});
it('module export reset', function () {
expect(_index.reset).to.exist;
});
it('module export load', function () {
expect(_index.load).to.exist;
});
it('module export setActive', function () {
expect(_index.setActive).to.exist;
});
it('module export setAudience', function () {
expect(_index.setAudience).to.exist;
});
it('module export setLocation', function () {
expect(_index.setLocation).to.exist;
});
it('module export WIN', function () {
expect(_index.WIN).to.exist;
});
it('module export PLAY', function () {
expect(_index.PLAY).to.exist;
});
});
;