Skip to content

Commit

Permalink
test: fix cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart committed Mar 8, 2020
1 parent 8285bd5 commit 283b329
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/run.build.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable no-console, import/no-unresolved */

const styleguidist = require('../lib/scripts');
const styleguidist = require('../lib/scripts').default;

styleguidist(require('../examples/basic/styleguide.config.js')).build((err, config) => {
if (err) {
Expand Down
2 changes: 1 addition & 1 deletion test/run.server.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* eslint-disable no-console, import/no-unresolved */

const path = require('path');
const styleguidist = require('../lib/scripts');
const styleguidist = require('../lib/scripts').default;

const dir = path.resolve(__dirname, '../examples/basic/src');

Expand Down

0 comments on commit 283b329

Please sign in to comment.