@nextsparkjs/core 0.1.0-beta.25 → 0.1.0-beta.27
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/styles/classes.json +1 -1
- package/dist/templates/contents/themes/starter/tests/jest/jest.config.cjs +2 -1
- package/dist/templates/contents/themes/starter/tests/jest/tsconfig.jest.json +8 -0
- package/package.json +1 -1
- package/templates/contents/themes/starter/tests/jest/jest.config.cjs +2 -1
- package/templates/contents/themes/starter/tests/jest/tsconfig.jest.json +8 -0
- /package/dist/templates/contents/themes/starter/tests/jest/{example.test.ts → example.test.tsx} +0 -0
- /package/templates/contents/themes/starter/tests/jest/{example.test.ts → example.test.tsx} +0 -0
package/dist/styles/classes.json
CHANGED
|
@@ -61,9 +61,10 @@ module.exports = {
|
|
|
61
61
|
],
|
|
62
62
|
|
|
63
63
|
// Transform configuration
|
|
64
|
+
// Use tsconfig.jest.json for JSX support (jsx: "react-jsx" instead of "preserve")
|
|
64
65
|
transform: {
|
|
65
66
|
'^.+\\.(ts|tsx)$': ['ts-jest', {
|
|
66
|
-
tsconfig: path.join(
|
|
67
|
+
tsconfig: path.join(themeTestsRoot, 'tsconfig.jest.json'),
|
|
67
68
|
}],
|
|
68
69
|
},
|
|
69
70
|
|
package/package.json
CHANGED
|
@@ -61,9 +61,10 @@ module.exports = {
|
|
|
61
61
|
],
|
|
62
62
|
|
|
63
63
|
// Transform configuration
|
|
64
|
+
// Use tsconfig.jest.json for JSX support (jsx: "react-jsx" instead of "preserve")
|
|
64
65
|
transform: {
|
|
65
66
|
'^.+\\.(ts|tsx)$': ['ts-jest', {
|
|
66
|
-
tsconfig: path.join(
|
|
67
|
+
tsconfig: path.join(themeTestsRoot, 'tsconfig.jest.json'),
|
|
67
68
|
}],
|
|
68
69
|
},
|
|
69
70
|
|
/package/dist/templates/contents/themes/starter/tests/jest/{example.test.ts → example.test.tsx}
RENAMED
|
File without changes
|
|
File without changes
|