We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fe07c6e commit b6613e3Copy full SHA for b6613e3
src/script-loader.spec.ts
@@ -80,6 +80,7 @@ describe('ScriptLoader', () => {
80
it('attaches script tag to document with data attributes', async () => {
81
await loader.loadScript(
82
'https://code.jquery.com/jquery-3.2.1.min.js',
83
+ undefined,
84
{'data-attribute1': '1', 'data-attribute2': '2'});
85
86
expect(script.attributes.getNamedItem('data-attribute1')!.value)
0 commit comments