Skip to content

Commit

Permalink
move from server to lib
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmosgenius committed Feb 17, 2017
1 parent 32a60ec commit 3a4d2ce
Show file tree
Hide file tree
Showing 14 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require('./logging');

const http = require('http');
const chalk = require('chalk');
const app = require('./server');
const app = require('./lib');

let port = process.env.PORT || 9000;

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 2 additions & 3 deletions test/unit/db/model.test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
const should = require('should');
const store = require('../../../server/db/store');
const Model = require('../../../server/db/model');
const store = require('../../../lib/db/store');
const Model = require('../../../lib/db/model');

describe('Model', () => {
class MockModel extends Model{}
Expand Down
3 changes: 1 addition & 2 deletions test/unit/db/store.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
const store = require('../../../server/db/store');
const db = store.db;
const store = require('../../../lib/db/store');

describe('Store', () => {
it('get', async () => {
Expand Down
4 changes: 1 addition & 3 deletions test/unit/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
'use strict';

const app = require('../../server');
const app = require('../../lib');

describe('test', ()=> {
it('test1', function(){});
Expand Down

0 comments on commit 3a4d2ce

Please sign in to comment.