Closed
Description
Hello diligent programmers,
yesterday i downloaded the exercise "difference-of-squares" in javascript track.
i made 'npm install', created a file called 'difference-of-squares.js' and tried to run the test-suite with 'npm test'.
Unfortunately i encountered the following error:
- Test suite failed to run
A "describe" callback must not return a value.
Returning a value from "describe" will fail the test in a future version of Jest.
1 | import { Squares } from './difference-of-squares';
2 |
> 3 | describe('difference-of-squares', () => {
| ^
4 | const squares1 = new Squares(1);
5 | const squares5 = new Squares(5);
6 | const squares100 = new Squares(100);
at addSpecsToSuite (node_modules/jest-jasmine2/build/jasmine/Env.js:522:17)
at Object.describe (difference-of-squares.spec.js:3:1)
anybody any ideas? i'm totally stuck... :(
best regards,
Marge