The old style of merging all of a function's variable declarations into a single statement made some sense back in the days of var, but there's no reason to keep doing it now that we use const and let.
9 lines
208 B
JavaScript
9 lines
208 B
JavaScript
describe('nothing', function() {
|
|
it('should pass', function() {
|
|
const matcher = privateUnderTest.matchers.nothing();
|
|
const result = matcher.compare();
|
|
|
|
expect(result.pass).toBe(true);
|
|
});
|
|
});
|