MCPcopy
hub / github.com/immutable-js/immutable-js / describe

Function describe

resources/benchmark.js:79–87  ·  view source on GitHub ↗
(name, fn)

Source from the content-addressed store, hash-verified

77 var prevBeforeFn;
78
79 function describe(name, fn) {
80 description.push(name);
81 beforeStack.push(prevBeforeFn);
82 prevBeforeFn = beforeFn;
83 fn();
84 beforeFn = prevBeforeFn;
85 prevBeforeFn = beforeStack.pop();
86 description.pop();
87 }
88
89 function beforeEach(fn) {
90 beforeFn = !prevBeforeFn

Callers 15

deepCopy.tsFile · 0.85
List.jsFile · 0.85
toJS.jsFile · 0.85
Map.jsFile · 0.85
Record.jsFile · 0.85
ArraySeq.tsFile · 0.85
zip.tsFile · 0.85
RecordJS.jsFile · 0.85
sort.tsFile · 0.85
IndexedSeq.tsFile · 0.85

Calls 2

pushMethod · 0.65
popMethod · 0.65

Tested by

no test coverage detected