Skip to content

Commit

Permalink
Expose createApp as module main API
Browse files Browse the repository at this point in the history
  • Loading branch information
motiz88 committed Feb 22, 2016
1 parent f915a81 commit 5f27495
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
export default {};
import createApp from './app';

export default createApp;
4 changes: 4 additions & 0 deletions test/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import ModuleEntryPoint from '../src';
import {expect} from 'chai';
import createApp from '../src/app';

describe('module entry point', function() {
it('should be defined', function() {
expect(ModuleEntryPoint).to.exist;
});
it('should be createApp', function() {
ModuleEntryPoint.should.equal(createApp);
});
});

// const testsContext = require.context('./specs/', true, /\.js$/);
Expand Down

0 comments on commit 5f27495

Please sign in to comment.