MCPcopy Create free account
hub / github.com/esengine/esengine / TestClass

Class TestClass

packages/core/tests/Utils/Profiler/AutoProfiler.test.ts:294–299  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292
293 test('should profile decorated methods', () => {
294 class TestClass {
295 @Profile()
296 calculate(): number {
297 return 42;
298 }
299 }
300
301 const instance = new TestClass();
302

Callers

nothing calls this directly

Calls 1

ProfileFunction · 0.90

Tested by

no test coverage detected