Skip to content

Commit

Permalink
tmp: logging
Browse files Browse the repository at this point in the history
Signed-off-by: Brian Nguyen <[email protected]>
  • Loading branch information
vanpho93 committed Jul 14, 2022
1 parent 37597ae commit bd64905
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/create-api-project.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ describe("The create-project-api command", () => {
it("should print the correct output when user run with --populate option", async () => {
const response = await execute("./index.js", ["create-project", "api", "myshop", "--populate"]);
const responseLines = response.trim().split(EOL);
// eslint-disable-next-line no-console
console.log(response);
expect(responseLines[1]).equal("reaction-cli: Added the sample data plugin successfully.");
expect(responseLines[2]).equal("reaction-cli: Project creation complete. Change to your directory and run `npm install`");

Expand Down

0 comments on commit bd64905

Please sign in to comment.