From 9791c617c53d870140ba30feab1f90ee587bd820 Mon Sep 17 00:00:00 2001 From: Vlad Rindevich Date: Sun, 5 Sep 2021 02:27:10 +0300 Subject: [PATCH] chore: remove unnecessary code --- karma.conf.js | 2 -- test/polyfill.test.ts | 6 ------ 2 files changed, 8 deletions(-) diff --git a/karma.conf.js b/karma.conf.js index f15430b..b4a45a8 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -160,8 +160,6 @@ module.exports = (config) => { extensions, }), rollupPluginTypescript({ - inlineSourceMap: true, - inlineSources: true, isolatedModules: true, tsconfig: require.resolve('./tsconfig.build.json'), }), diff --git a/test/polyfill.test.ts b/test/polyfill.test.ts index 386a818..cbab3df 100644 --- a/test/polyfill.test.ts +++ b/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;