Skip to content

Commit

Permalink
fix: update rollup / ts config
Browse files Browse the repository at this point in the history
  • Loading branch information
goosewobbler committed Dec 11, 2024
1 parent fe3bfb3 commit fa3cae4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions e2e/rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,36 +6,36 @@ const tsPlugin = rollupTS({ tsconfig: 'tsconfig.json', module: 'nodeNext' });

export default defineConfig([
{
input: 'api.spec.ts',
input: 'test/api.spec.ts',
output: {
dir: 'js',
dir: 'test/js',
format: 'esm',
},
plugins: [tsPlugin],
external: ['@wdio/globals', '@vitest/spy', 'wdio-electron-service'],
},
{
input: 'application.spec.ts',
input: 'test/application.spec.ts',
output: {
dir: 'js',
dir: 'test/js',
format: 'esm',
},
plugins: [tsPlugin],
external: ['@wdio/globals', 'wdio-electron-service'],
},
{
input: 'dom.spec.ts',
input: 'test/dom.spec.ts',
output: {
dir: 'js',
dir: 'test/js',
format: 'esm',
},
plugins: [tsPlugin],
external: ['@testing-library/webdriverio', '@wdio/globals', 'wdio-electron-service'],
},
{
input: 'interaction.spec.ts',
input: 'test/interaction.spec.ts',
output: {
dir: 'js',
dir: 'test/js',
format: 'esm',
},
plugins: [tsPlugin],
Expand Down
2 changes: 1 addition & 1 deletion e2e/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@
"types": ["node", "@wdio/globals/types", "mocha"],
"typeRoots": ["./node_modules", "./node_modules/@types"]
},
"include": ["./**/*.spec.ts"],
"include": ["./test/**/*.spec.ts"],
"exclude": []
}

0 comments on commit fa3cae4

Please sign in to comment.