Skip to content

Commit

Permalink
chore: default config with mode
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabh3112 committed Sep 14, 2021
1 parent e9b603d commit c1d4b2d
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -3,8 +3,8 @@ const { existsSync } = require("fs");
const { resolve } = require("path");
const { run } = require("../../../../utils/test-utils");

describe("multiple config files", () => {
it("Uses dev config when development mode is supplied", async () => {
describe("default config with mode from cli", () => {
it("should build and not throw error with development mode supplied", async () => {
const { stdout, stderr, exitCode } = await run(__dirname, ["--mode", "development"]);
expect(exitCode).toEqual(0);
expect(stderr).toBeFalsy();
Expand Down

0 comments on commit c1d4b2d

Please sign in to comment.