Skip to content

Commit

Permalink
fix test in config
Browse files Browse the repository at this point in the history
  • Loading branch information
jalal246 committed Mar 25, 2020
1 parent 6a4223e commit 5a7fd65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/config.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ setIsSilent(true);

describe("config function", () => {
it("initBuild default", async () => {
const { sorted, pkgInfo } = await initBuild();
const { sorted, pkgInfo } = await initBuild(undefined, [], []);

// snapshot the name cause everything else is changeable.
expect(sorted[0].name).toMatchSnapshot();
Expand All @@ -23,7 +23,7 @@ describe("config function", () => {

const paths = [foloForms, foloLayout, foloUtils, foloWithcontext];

const { sorted, pkgInfo } = await initBuild("dist", paths);
const { sorted, pkgInfo } = await initBuild("dist", paths, []);

expect(sorted).toMatchSnapshot();
expect(pkgInfo).toMatchSnapshot();
Expand Down

0 comments on commit 5a7fd65

Please sign in to comment.