MCPcopy Index your code
hub / github.com/ampproject/amphtml / initializeTests

Function initializeTests

testing/init-tests-helpers.js:53–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51 * Initializes the global state required by all AMP unit and integration tests.
52 */
53export function initializeTests() {
54 initializeTestConstructs();
55 exposeKarmaConfig();
56 resetTestingState();
57 overrideAmpExtensionInstaller();
58}
59
60/**
61 * Exposes Karma's config constant for use during tests. The regular test runner

Callers 1

init-tests.jsFile · 0.90

Calls 4

initializeTestConstructsFunction · 0.85
exposeKarmaConfigFunction · 0.85
resetTestingStateFunction · 0.85

Tested by

no test coverage detected