Skip to content

Commit

Permalink
Fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
jimbo committed Feb 10, 2021
1 parent 15928ee commit b4d1280
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/venia-concept/_buildpack/__tests__/create.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const {
makeCommonTasks,
makeCopyStream
} = require('@magento/pwa-buildpack/lib/Utilities/createProject');
const sampleBackends = require('@magento/pwa-buildpack/sampleBackends.json');
const createVenia = require('../create');

const mockFs = data => {
Expand Down Expand Up @@ -50,7 +51,8 @@ const runCreate = async (fs, opts) => {
const { after, before, visitor } = await createVenia({
fs,
tasks: makeCommonTasks(fs),
options
options,
sampleBackends
});
if (before) {
await before({ options });
Expand Down

0 comments on commit b4d1280

Please sign in to comment.