MCPcopy Create free account
hub / github.com/ampproject/amphtml /

Class

test/unit/test-service.js:59–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57 beforeEach(() => {
58 count = 0;
59 Class = class {
60 constructor() {
61 this.count = ++count;
62 }
63 };
64 factory = env.sandbox.spy(() => {
65 return new Class();
66 });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected