Skip to content

Commit

Permalink
test: Update code comments in exports tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnAlbin committed Jan 7, 2022
1 parent 4a8cc02 commit 2946333
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/Unit tests/exports/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import DrupalAttribute from 'drupal-attribute';
import * as exports from '../../../index.cjs';

test('should have 1 named export', (t) => {
// CJS files also include "default" and "__esModule" exports.
// Babel-transpiled CJS files also include "default" and "__esModule" exports.
t.is(Object.keys(exports).length - 2, 1);
});

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit tests/exports/twig.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import test from 'ava';
import * as exports from '../../../twig.cjs';

test('should have 2 named exports', (t) => {
// CJS files also include "default" and "__esModule" exports.
// Babel-transpiled CJS files also include "default" and "__esModule" exports.
t.is(Object.keys(exports).length - 2, 2);
});

Expand Down
2 changes: 1 addition & 1 deletion tests/Unit tests/exports/twing.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import test from 'ava';
import * as exports from '../../../twing.cjs';

test('should have 2 named exports', (t) => {
// CJS files also include "default" and "__esModule" exports.
// Babel-transpiled CJS files also include "default" and "__esModule" exports.
t.is(Object.keys(exports).length - 2, 2);
});

Expand Down

0 comments on commit 2946333

Please sign in to comment.