Skip to content

Commit

Permalink
chore: remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
Lodin committed Sep 4, 2021
1 parent 8ace55f commit 9791c61
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions karma.conf.js
Expand Up @@ -160,8 +160,6 @@ module.exports = (config) => {
extensions,
}),
rollupPluginTypescript({
inlineSourceMap: true,
inlineSources: true,
isolatedModules: true,
tsconfig: require.resolve('./tsconfig.build.json'),
}),
Expand Down
6 changes: 0 additions & 6 deletions test/polyfill.test.ts
@@ -1,11 +1,5 @@
import {defineCE, fixture, waitForMutationObserver} from './helpers';

// if (!('adoptedStyleSheets' in document)) {
// // @ts-expect-error: TS complains because it is a new version feature but
// // this part is erased by Rollup during tests so it's ok.
// await import('../src/index');
// }

// Workaround for IE that does not support the DOMException constructor
export const _DOMException =
typeof DOMException === 'object' ? Error : DOMException;
Expand Down

0 comments on commit 9791c61

Please sign in to comment.