Skip to content

Commit e2f190a

Browse files
Update test.js
1 parent 5716f59 commit e2f190a

File tree

1 file changed

+1
-1
lines changed
  • exercises/123-getStringLength

1 file changed

+1
-1
lines changed

exercises/123-getStringLength/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ test('Function must return the length of the string. Testing with different valu
2828
expect(getStringLength('python')).toBe(6);
2929
});
3030

31-
test('You should not be using the .length methiod', () => {
31+
test('You should not be using the .length method', () => {
3232
const file = fs.readFileSync(path.resolve(__dirname, './app.js'), 'utf8');
3333
const regex = /\s*\.\s*length/gm
3434
expect(regex.test(file.toString())).toBeFalsy();

0 commit comments

Comments
 (0)