Skip to content

Commit d9d30b2

Browse files
test: improve test suite
1 parent aa69646 commit d9d30b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/integration/index.test.js renamed to test/integration/create-react-app/index.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const genPath = join(__dirname, projectName);
1414
const generatedFiles = ['.gitignore', 'package.json', 'src', 'yarn.lock'];
1515

1616
beforeEach(() => remove(genPath));
17-
afterEach(() => remove(genPath));
17+
afterAll(() => remove(genPath));
1818

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

@@ -77,7 +77,7 @@ describe('create-react-app', () => {
7777
);
7878
});
7979

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

0 commit comments

Comments
 (0)