We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 028e098 commit c8fd535Copy full SHA for c8fd535
Cache/__tests__/Memoize.test.js
@@ -16,7 +16,7 @@ const factorial = (n) => {
16
return n * factorial(n - 1)
17
}
18
19
-describe('memoize', () => {
+describe('Memoize', () => {
20
it('expects the fibonacci function to use the cache on the second call', () => {
21
const memoFibonacci = memoize(fibonacci)
22
@@ -32,6 +32,6 @@ describe('memoize', () => {
32
expect(memoFactorial(5)).toEqual(factorial(5))
33
expect(memoFactorial(5)).toEqual(120)
34
expect(memoFactorial(10)).toEqual(factorial(10))
35
- expect(memoFactorial(10)).toEqual(3_628_800)
+ expect(memoFactorial(10)).toEqual(3628800)
36
})
37
0 commit comments