File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 1- import type { ImageDetails } from './dynamic-theme/image' ;
1+ import type { ImageDetails } from './dynamic-theme/image' ;
22
33const STORAGE_KEY_WAS_ENABLED_FOR_HOST = '__darkreader__wasEnabledForHost' ;
44const STORAGE_KEY_IMAGE_DETAILS_LIST = '__darkreader__imageDetails_v2_list' ;
Original file line number Diff line number Diff line change @@ -9,9 +9,9 @@ import rollupPluginTypescript from '@rollup/plugin-typescript';
99import rollupPluginIstanbul from 'rollup-plugin-istanbul' ;
1010import typescript from 'typescript' ;
1111
12- import { absolutePath } from '../../tasks/paths.js' ;
12+ import { absolutePath } from '../../tasks/paths.js' ;
1313
14- import { createEchoServer } from './support/echo-server.js' ;
14+ import { createEchoServer } from './support/echo-server.js' ;
1515
1616/**
1717 * @param {Partial<LocalConfig> } config
@@ -30,7 +30,7 @@ export function configureKarma(config, env) {
3030 files : [
3131 'tests/inject/support/customize.ts' ,
3232 'tests/inject/support/polyfills.ts' ,
33- { pattern : 'tests/inject/**/*.tests.ts' , watched : false } ,
33+ { pattern : 'tests/inject/**/*.tests.ts' , watched : false } ,
3434 ] ,
3535 plugins : [
3636 'karma-chrome-launcher' ,
@@ -49,6 +49,10 @@ export function configureKarma(config, env) {
4949 typescript,
5050 tsconfig : absolutePath ( 'tests/inject/tsconfig.json' ) ,
5151 cacheDir : `${ fs . realpathSync ( os . tmpdir ( ) ) } /darkreader_typescript_test_cache` ,
52+ compilerOptions : {
53+ outDir : undefined ,
54+ declarationDir : undefined ,
55+ } ,
5256 } ) ,
5357 rollupPluginReplace ( {
5458 preventAssignment : true ,
You can’t perform that action at this time.
0 commit comments