MCPcopy Index your code
hub / github.com/TheAlgorithms/JavaScript / Factorial.test.js

File Factorial.test.js

Recursive/test/Factorial.test.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { factorial } from '../Factorial'
2
3describe('Factorial', () => {
4 it('should return factorial 1 for value "0"', () => {

Callers

nothing calls this directly

Calls 1

factorialFunction · 0.90

Tested by

no test coverage detected