Skip to content

Commit e2ecf84

Browse files
committed
Fix naming
1 parent e70f04b commit e2ecf84

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

NodeJS/arrays.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ const assert = require('node:assert');
55

66
const arrays = require('./arrays.js');
77

8-
test('Example 3', (text) => {
8+
test('Example 3', (test) => {
99
assert.strictEqual(typeof arrays.sample([1, 2, 3]), 'number');
1010
});
1111

12-
test('Example 4', async (text) => {
12+
test('Example 4', async (test) => {
1313
assert.strictEqual(arrays.shuffle([1, 2, 3]).length, 3);
1414
});

NodeJS/utils.test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ const assert = require('node:assert');
55

66
const utils = require('./utils.js');
77

8-
test('Example 1', (text) => {
8+
test('Example 1', (test) => {
99
assert.strictEqual(utils.add(4, 1), 5);
1010
assert.strictEqual(utils.sub(5, 2), 3);
1111
});
1212

13-
test('Example 2', async (text) => {
13+
test('Example 2', async (test) => {
1414
assert.strictEqual(utils.add(4, 1), 5);
1515
assert.strictEqual(utils.sub(5, 2), 3);
1616
});

0 commit comments

Comments
 (0)