Skip to content

Commit

Permalink
test: improve test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesgeorge007 committed Apr 20, 2021
1 parent aa69646 commit d9d30b2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const genPath = join(__dirname, projectName);
const generatedFiles = ['.gitignore', 'package.json', 'src', 'yarn.lock'];

beforeEach(() => remove(genPath));
afterEach(() => remove(genPath));
afterAll(() => remove(genPath));

const run = (args, options) => execa('node', [cli].concat(args), options);

Expand Down Expand Up @@ -77,7 +77,7 @@ describe('create-react-app', () => {
);
});

it('creates a project in the current based on the typescript template', async () => {
it('creates a project based on the typescript template', async () => {
await run([projectName, '--template', 'typescript'], {
cwd: __dirname,
});
Expand Down

0 comments on commit d9d30b2

Please sign in to comment.