Skip to content

Commit

Permalink
load ima locally
Browse files Browse the repository at this point in the history
  • Loading branch information
avelad committed May 22, 2024
1 parent a09a567 commit c622076
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@

# This is default ignored, but we want to still lint it.
!.eslintrc.js
ima3.js
File renamed without changes.
2 changes: 2 additions & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@ module.exports = (config) => {
// hosts our tests.
'test/test/cast-boot.js',

'ima3.js',

// Polyfills before anything else, primarily for older TVs:
// Promise polyfill, required since we test uncompiled code on IE11
'node_modules/es6-promise-polyfill/promise.js',
Expand Down
4 changes: 2 additions & 2 deletions test/test/boot.js
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ function loadImaSdk() {
script['async'] = false;
script.onload = resolve;
script.onerror = reject;
script.setAttribute('src','/base/test/test/ima3.js');
script.setAttribute('src', '/base/test/test/ima3.js');
document.head.appendChild(script);
});
}
Expand All @@ -478,7 +478,7 @@ async function setupTestEnvironment() {

configureJasmineEnvironment();

await loadImaSdk();
// await loadImaSdk();
}

/**
Expand Down

0 comments on commit c622076

Please sign in to comment.