Skip to content

Commit

Permalink
chore: fix glee test
Browse files Browse the repository at this point in the history
  • Loading branch information
Amzani committed Jun 5, 2024
1 parent 38619af commit 98999a5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/integration/new/glee.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const successMessage = (projectName: string) =>

const errorMessages = {
alreadyExists: (projectName: string) =>
`Unable to create the project because the directory "${projectName}" already exists at "${process.cwd()}/${projectName}".
`Unable to create the project because the directory "${projectName}" already exists at "${process.cwd()}/${projectName}".
To specify a different name for the new project, please run the command below with a unique project name:`};

describe('new glee', () => {
Expand All @@ -27,7 +27,7 @@ describe('new glee', () => {
afterEach(() => {
testHelper.deleteDummyProjectDirectory();
});

test
.stderr()
.stdout()
Expand All @@ -39,7 +39,7 @@ describe('new glee', () => {
});
});

describe('when new project name already exists', () => {
describe('when new project name already exists', () => {
beforeEach(() => {
try {
testHelper.createDummyProjectDirectory();
Expand All @@ -52,7 +52,7 @@ describe('new glee', () => {

afterEach(() => {
testHelper.deleteDummyProjectDirectory();
});
});

test
.stderr()
Expand Down

0 comments on commit 98999a5

Please sign in to comment.