Skip to content

Commit

Permalink
✨ Fixed some slide rearrange issues
Browse files Browse the repository at this point in the history
- Fixed import comma split
- Fixed auto size
- Custom scripture color working when double clicking
- Fixed image transition not working
- Fixed some slide group issues
- Adding media slide to drop index
- Group numbers setting working on all slide numbers
- Audio drop on slide from file explorer working
- Auto scroll timeout
- Autoscroll in show working again
- Fixed dragging slides to template/overlay
- Fixed issue when dropping a dragged element
- Added some advanced window options for testing on mac
- Cameras always showing the correct image
- Fixed media position in output
- Trying to add testing
  • Loading branch information
vassbo committed Sep 10, 2022
1 parent e528927 commit 590d09a
Show file tree
Hide file tree
Showing 45 changed files with 19,005 additions and 9,396 deletions.
55 changes: 55 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
// module.exports = {
// // transform: {
// // "^.+\\.svelte$": "svelte-jester",
// // "^.+\\.(t|j)sx?$": "ts-jest",
// // },
// transform: {
// "^.+\\.svelte$": ["svelte-jester", { preprocess: "./svelte.config.test.cjs" }],
// "^.+\\.ts$": "ts-jest",
// "^.+\\.js$": "ts-jest",
// },
// testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
// moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node", "svelte"],
// transformIgnorePatterns: ["node_modules/?!*"],
// }

// module.exports = {
// transform: {
// "^.+\\.svelte$": ["svelte-jester", { preprocess: "./svelte.config.test.cjs" }],
// "^.+\\.ts$": "ts-jest",
// "^.+\\.js$": "ts-jest",
// },
// moduleFileExtensions: ["js", "ts", "svelte"],
// moduleNameMapper: {
// "^\\$lib(.*)$": "src/lib$1",
// "^\\$app(.*)$": [".svelte-kit/dev/runtime/app$1", ".svelte-kit/build/runtime/app$1"],
// },
// // testRegex: "(/tests/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
// // collectCoverageFrom: ["src/**/*.{ts,tsx,svelte,js,jsx}"],

// // setupFilesAfterEnv: ["jest-setup.ts"],
// // transformIgnorePatterns: ["/node_modules/(?!@vimeo|@vimeo/player)"],
// transformIgnorePatterns: [
// "/node_modules/",
// "src/frontend/components/drawer/player/Vimeo.svelte",
// "src/frontend/components/system/Player.svelte",
// "src/frontend/components/output/MediaOutput.svelte",
// "src/frontend/components/output/Output.svelte",
// "src/frontend/components/draw/Slide.svelte",
// "src/frontend/App.svelte",
// "node_modules/?!(svelte-routing)",
// ],
// }

module.exports = {
transform: {
// "^.+\\.(t|j)sx?$": ["ts-jest", "/tsconfig.svelte.json"],
"^.+\\.(t|j)sx?$": "ts-jest",
"^.+\\.svelte$": ["svelte-jester", { preprocess: "./svelte.config.test.cjs" }],
},
testEnvironment: "node",
testRegex: "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$",
moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"],
transformIgnorePatterns: ["/node_modules/"],
// , "src/frontend/components/drawer/player/Vimeo.svelte"
}
Loading

0 comments on commit 590d09a

Please sign in to comment.