diff --git a/ghost/members-csv/test/parse.test.js b/ghost/members-csv/test/parse.test.js index f697ca9173..408483eba7 100644 --- a/ghost/members-csv/test/parse.test.js +++ b/ghost/members-csv/test/parse.test.js @@ -1,6 +1,6 @@ const should = require('should'); const path = require('path'); -const parse = require('../lib/parse'); +const {parse} = require('../index'); const csvPath = path.join(__dirname, '/fixtures/'); const readCSV = ({filePath, mapping, defaultLabels}) => parse(filePath, mapping, defaultLabels); diff --git a/ghost/members-csv/test/unparse.test.js b/ghost/members-csv/test/unparse.test.js index b09b518084..970c94b518 100644 --- a/ghost/members-csv/test/unparse.test.js +++ b/ghost/members-csv/test/unparse.test.js @@ -1,5 +1,5 @@ const should = require('should'); -const unparse = require('../lib/unparse'); +const {unparse} = require('../index'); describe('unparse', function () { it('serializes json to CSV and adds standard members fields', async function () {