Skip to content

Commit

Permalink
style: Use a real function body for the test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidparsson committed Feb 1, 2024
1 parent ada9e92 commit 2161361
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions spec/e2e_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,13 @@ describe('JUnit Report builder', function () {
expect(actual).toBe(expected);
});

it('should produce an empty list of test suites when nothing reported', () =>
it('should produce an empty list of test suites when nothing reported', () => {
expect(builder.build()).toBe(
// prettier-ignore
'<?xml version="1.0" encoding="UTF-8"?>\n' +
'<testsuites tests="0" failures="0" errors="0" skipped="0"/>',
));
);
});

it('should set testsuites name', () => {
builder.name('testSuitesName');
Expand Down

0 comments on commit 2161361

Please sign in to comment.