Skip to content

Commit ae6a598

Browse files
author
Vikas Agarwal
committed
Trying to fix the inclusion of mock son
1 parent eac3602 commit ae6a598

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"scripts": {
1010
"lint": "./node_modules/.bin/eslint .",
1111
"lint:fix": "./node_modules/.bin/eslint . --fix || true",
12-
"build": "babel src -d dist --presets es2015",
12+
"build": "babel src -d dist --presets es2015 --copy-files",
1313
"sync:db": "./node_modules/.bin/babel-node migrations/sync.js",
1414
"sync:es": "./node_modules/.bin/babel-node migrations/elasticsearch_sync.js",
1515
"migrate:es": "./node_modules/.bin/babel-node migrations/seedElasticsearchIndex.js",

src/routes/projectReports/mock.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import util from '../../util';
22

3-
const summaryJson = require('./mockFiles/summary.js/index.js');
3+
const summaryJson = require('./mockFiles/summary.json');
44

55
module.exports = (projectId, reportName, req, res) => {
66
if (Number(projectId) === 123456) {

0 commit comments

Comments
 (0)