* Basic transparent pane styling * HTML and static asset cleanup * Convert to collapsibles * Polish up DebugPanel * Add hotkey support, remove allotment * Remove allotment css dependency * Merge in from main * Add a different resizable package * Fix tsc errors introduced by merge * Stream has to have at least z-index of 0 * App header has to be above stream z-index * Applied z-index to the wrong element * Scrollable logs, disable UI while dragging * Fix test errors from importing CSS Modules in Jest * Persist open panes configuration * Style tweaks and fix camera step in onboarding * Kurt review, make click-drag handler declarative
20 lines
615 B
TypeScript
20 lines
615 B
TypeScript
import type { Config } from 'jest'
|
|
|
|
const config: Config = {
|
|
testEnvironment: 'jsdom',
|
|
preset: 'ts-jest/presets/js-with-ts',
|
|
transform: {
|
|
'^.+\\.(ts|tsx)?$': 'ts-jest',
|
|
'^.+\\.(js|jsx)$': 'babel-jest',
|
|
'^.+\\.css$': ["jest-transform-css", { modules: true, generateScopedName: "[path]_[name]_[local]" }],
|
|
},
|
|
transformIgnorePatterns: ['//node_modules/(?!(allotment|@tauri-apps/api)/)'],
|
|
moduleNameMapper: {
|
|
'^allotment$': 'allotment/dist/legacy',
|
|
},
|
|
setupFilesAfterEnv: ['./src/setupTests.ts'],
|
|
reporters: [['github-actions', { silent: false }], 'summary'],
|
|
}
|
|
|
|
export default config
|