We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5716f59 commit e2f190aCopy full SHA for e2f190a
exercises/123-getStringLength/test.js
@@ -28,7 +28,7 @@ test('Function must return the length of the string. Testing with different valu
28
expect(getStringLength('python')).toBe(6);
29
});
30
31
-test('You should not be using the .length methiod', () => {
+test('You should not be using the .length method', () => {
32
const file = fs.readFileSync(path.resolve(__dirname, './app.js'), 'utf8');
33
const regex = /\s*\.\s*length/gm
34
expect(regex.test(file.toString())).toBeFalsy();
0 commit comments