Skip to content
Open
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions packages/aggrid/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function buildProjectsWithThemes() {

export default defineConfig({
testMatch: 'tests/*.e2e.ts',
outputDir: './test-results',

/* Run tests in files in parallel */
fullyParallel: true,
Expand Down
3 changes: 2 additions & 1 deletion packages/aggrid/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"files": [],
"references": [
{ "path": "./tsconfig.lib.json" },
{ "path": "./tsconfig.test.json" }
{ "path": "./tsconfig.test.json" },
{ "path": "./tsconfig.node.json" }
]
}
25 changes: 25 additions & 0 deletions packages/aggrid/tsconfig.node.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"compilerOptions": {
"target": "ES2022",
"lib": ["ES2023"],
"module": "ESNext",
"skipLibCheck": true,
"types": ["node"],
"allowSyntheticDefaultImports": true,

/* Bundler mode */
"moduleResolution": "node",
"noEmit": true,

/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": [
"playwright.config.ts",
"vite.config.ts",
"visual-regression.config.ts"
]
}
8 changes: 2 additions & 6 deletions packages/aggrid/visual-regression.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,12 @@ export const visualTestConfig = defineVisualTestConfig([
name: 'classic-dark',
theme: 'classic',
colorSchema: 'dark',
importPath: require.resolve(
'@siemens/ix/dist/siemens-ix/theme/classic-dark.css'
),
importPath: '@siemens/ix/dist/siemens-ix/theme/classic-dark.css',
},
{
name: 'classic-light',
theme: 'classic',
colorSchema: 'light',
importPath: require.resolve(
'@siemens/ix/dist/siemens-ix/theme/classic-light.css'
),
importPath: '@siemens/ix/dist/siemens-ix/theme/classic-light.css',
},
]);
12 changes: 2 additions & 10 deletions packages/aggrid/vite.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,6 @@
* LICENSE file in the root directory of this source tree.
*/
import { defineConfig } from 'vite';
import './visual-regression.config';

export default defineConfig({
server: {
watch: {
// Include the directory where Rollup outputs the bundle
include: ['dist/**'],
// Force Vite to always reload on changes
usePolling: true,
},
},
});
export default defineConfig({});
Loading