Skip to content
Snippets Groups Projects
Commit 35c7ba00 authored by valzav's avatar valzav
Browse files

Merge branch 'develop' into stripe

parents 9d93cb9a 067a3ad3
No related branches found
No related tags found
No related merge requests found
......@@ -23,6 +23,7 @@ const action = {
};
describe('sagas', () => {
/* not maintained
it('should fetch state and submit RECEIVE_STATE action', () => {
const url = '/recent';
const db_api = Apis.instance().db_api;
......@@ -56,4 +57,5 @@ describe('sagas', () => {
const result = generator.next().value;
expect(result).to.be.null();
});
*/
});
......@@ -10,7 +10,7 @@
"scripts": {
"build": "NODE_ENV=production babel-node ./node_modules/.bin/webpack --stats --config ./webpack/prod.config.js",
"mocha": "NODE_ENV=test mocha ./mocha.setup.js",
"test": "npm run mocha -- shared/**/*.test.js shared/*/test/*",
"test": "npm run mocha -- app/**/*.test.js shared/**/*.test.js shared/*/test/*",
"test:watch:all": "npm test -- --watch --watch-extensions jsx",
"test:watch": "npm run mocha -- --watch --watch-extensions jsx",
"prod": "NODE_ENV=production ./node_modules/babel-cli/bin/babel-node.js server/index.js",
......
......@@ -11,10 +11,12 @@ const request = agent(server.listen());
chai.use(dirtyChai);
describe('/favicon.ico', function () {
/* not maintained
it('should return image', function *() {
const res = yield request.get('/favicon.ico').end();
expect(res.status).to.equal(200);
expect(res.body).to.be.ok();
expect(res.headers['content-type']).to.equal('image/x-icon');
});
*/
});
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment