Skip to content

Commit

Permalink
Bump svelte and svelte-preprocess in /core (#4054)
Browse files Browse the repository at this point in the history
  • Loading branch information
dependabot[bot] authored Jan 23, 2025
1 parent cfce7a8 commit 981dcf4
Show file tree
Hide file tree
Showing 7 changed files with 1,687 additions and 3,220 deletions.
17 changes: 0 additions & 17 deletions core/babel.config.js

This file was deleted.

13 changes: 13 additions & 0 deletions core/babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "current"
},
"loose": true
}
]
]
}
23 changes: 14 additions & 9 deletions core/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
module.exports = async () => {
return {
verbose: true,
testEnvironment: 'jsdom',
roots: ['test'],
collectCoverage: true,
collectCoverageFrom: ['src/**/*.{js,mjs,ts,svelte}', '!**/node_modules/**', '!**/vendor/**', '!**/*.spec.{js,ts}']
};
};
/** @type {import('jest').Config} */
const config = {
collectCoverage: true,
collectCoverageFrom: ['src/**/*.{js,mjs,ts,svelte}', '!**/node_modules/**', '!**/vendor/**', '!**/*.spec.{js,ts}'],
roots: ['test'],
testEnvironment: 'jsdom',
transform: {
'\\.[jt]sx?$': 'babel-jest'
},
transformIgnorePatterns: ['/node_modules/(?!(svelte)/)'],
verbose: true
};

module.exports = config;
Loading

0 comments on commit 981dcf4

Please sign in to comment.