Skip to content

Commit b2f102f

Browse files
Fred/jest tests (scullyio#20)
* test(all): read jest tests * test(tests): 🐛 fix failing test from location * test(all): fix jest warnings * test(all) add suspicious snapshot * refactor(tests): ♻️ saml touchup. fix exclude --------- Co-authored-by: sanderelias <sanderelias+git@gmail.com>
1 parent 7b79637 commit b2f102f

37 files changed

Lines changed: 9735 additions & 4932 deletions

.vscode/settings.json

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,24 @@
66
"peacock.affectAccentBorders": true,
77
"peacock.color": "#131f64",
88
"workbench.colorCustomizations": {
9-
"activityBar.activeBorder": "#d62942"
9+
"activityBar.activeBorder": "#d62942",
10+
"activityBar.activeBackground": "#1b2c8f",
11+
"activityBar.background": "#1b2c8f",
12+
"activityBar.foreground": "#e7e7e7",
13+
"activityBar.inactiveForeground": "#e7e7e799",
14+
"activityBarBadge.background": "#d62942",
15+
"activityBarBadge.foreground": "#e7e7e7",
16+
"commandCenter.border": "#e7e7e799",
17+
"sash.hoverBorder": "#1b2c8f",
18+
"statusBar.background": "#131f64",
19+
"statusBar.foreground": "#e7e7e7",
20+
"statusBarItem.hoverBackground": "#1b2c8f",
21+
"statusBarItem.remoteBackground": "#131f64",
22+
"statusBarItem.remoteForeground": "#e7e7e7",
23+
"titleBar.activeBackground": "#131f64",
24+
"titleBar.activeForeground": "#e7e7e7",
25+
"titleBar.inactiveBackground": "#131f6499",
26+
"titleBar.inactiveForeground": "#e7e7e799"
1027
},
1128
"files.exclude": {
1229
"**/dist/**/*": false
@@ -15,5 +32,15 @@
1532
"**/dist/**": true
1633
},
1734
"angular.enable-strict-mode-prompt": false,
18-
"conventionalCommits.scopes": ["all", "scully", "ngLib", "plugins", "tests", "devops", "platform-server", "docs"]
35+
"conventionalCommits.scopes": [
36+
"all",
37+
"scully",
38+
"ngLib",
39+
"plugins",
40+
"tests",
41+
"devops",
42+
"platform-server",
43+
"docs",
44+
"tests"
45+
]
1946
}

core/plugins/puppeteer/jest.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module.exports = {
22
displayName: 'plugins-scully-plugin-puppeteer',
3-
preset: '../../../jest.preset.mjs',
43
globals: {
54
'ts-jest': {
65
tsconfig: '<rootDir>/tsconfig.spec.json',

jest.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/** @type {import('ts-jest').JestConfigWithTsJest} */
2+
module.exports = {
3+
preset: 'ts-jest',
4+
testEnvironment: 'node',
5+
projects: ['<rootDir>/tests/jest/src'],
6+
coverageDirectory: '../../../coverage/custom-test-set',
7+
};

0 commit comments

Comments
 (0)