Skip to content

Commit

Permalink
add some non-async tests to the mix
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitri-gb committed Jun 4, 2023
1 parent 7cccbd5 commit fa25874
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
Expand Up @@ -12,10 +12,18 @@ exports[`A c 1`] = `"Ac1"`;

exports[`A c 2`] = `"Ac2"`;

exports[`A d 1`] = `"Ad1"`;

exports[`A d 2`] = `"Ad2"`;

exports[`B 1`] = `"B1"`;

exports[`B 2`] = `"B2"`;

exports[`C 1`] = `"C1"`;

exports[`C 2`] = `"C2"`;

exports[`D 1`] = `"D1"`;

exports[`D 2`] = `"D2"`;
12 changes: 11 additions & 1 deletion e2e/snapshot-concurrent/__tests__/works.test.js
Expand Up @@ -26,6 +26,11 @@ describe('A', () => {
expect('Ac1').toMatchSnapshot();
expect('Ac2').toMatchSnapshot();
});

it('d', () => {
expect('Ad1').toMatchSnapshot();
expect('Ad2').toMatchSnapshot();
});
});

it.concurrent('B', async () => {
Expand All @@ -34,7 +39,12 @@ it.concurrent('B', async () => {
expect('B2').toMatchSnapshot();
});

it.concurrent('C', async () => {
it('C', () => {
expect('C1').toMatchSnapshot();
expect('C2').toMatchSnapshot();
});

it.concurrent('D', async () => {
expect('D1').toMatchSnapshot();
expect('D2').toMatchSnapshot();
});

0 comments on commit fa25874

Please sign in to comment.