Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
jridgewell committed Nov 13, 2021
1 parent c867491 commit f6acea5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/test-custom-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -2159,7 +2159,7 @@ describes.realWin('CustomElement', {amp: true}, (env) => {
ElementClass = createAmpElementForTesting(win, TestElement);
win.customElements.define('amp-test-loader', ElementClass);
win.__AMP_EXTENDED_ELEMENTS['amp-test-loader'] = TestElement;
LOADING_ELEMENTS_ENUM.AMP_TEST_LOADER = 'amp-test-loader';
LOADING_ELEMENTS_ENUM.AMP_TEST_LOADER = 'amp-test-loader'.toUpperCase();
resources = Services.resourcesForDoc(doc);
resources.isBuildOn_ = true;
resourcesMock = env.sandbox.mock(resources);
Expand Down

0 comments on commit f6acea5

Please sign in to comment.