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

Function expectElementMutatedAsync

test/unit/test-standard-actions.js:48–51  ·  view source on GitHub ↗
(element)

Source from the content-addressed store, hash-verified

46 }
47
48 function expectElementMutatedAsync(element) {
49 expect(mutateElementStub.withArgs(element, env.sandbox.match.any)).to.be
50 .calledOnce;
51 }
52
53 function expectElementToHaveBeenHidden(element) {
54 expectElementMutatedAsync(element);

Calls 1

expectFunction · 0.85

Tested by

no test coverage detected