-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into feat/21639/annotation-lsp-enhancement-manu…
…al-tests
- Loading branch information
Showing
636 changed files
with
27,372 additions
and
7,025 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
{ | ||
"files.watcherExclude": { | ||
"**/node_modules/*/**": false, | ||
"**/node_modules/[!@]*/**/*": true | ||
} | ||
"files.watcherExclude": {} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
const { join } = require("path"); | ||
|
||
module.exports = { | ||
preset: "ts-jest", | ||
testEnvironment: "node", | ||
automock: false, | ||
errorOnDeprecated: true, | ||
notify: false, | ||
notifyMode: "failure", | ||
verbose: true, | ||
testMatch: ["**/unit/**/?(*.)+(test).ts"], | ||
transform: { | ||
"^.+\\.ts?$": "ts-jest", | ||
}, | ||
collectCoverage: true, | ||
snapshotFormat: { | ||
escapeString: true, | ||
printBasicPrototype: true, | ||
}, | ||
collectCoverageFrom: ["src/**/*.{ts,tsx}"], | ||
coverageDirectory: "reports/test/unit/coverage", | ||
coverageThreshold: { | ||
global: { | ||
branches: 90, | ||
functions: 90, | ||
lines: 90, | ||
statements: 90, | ||
}, | ||
}, | ||
|
||
modulePathIgnorePatterns: [ | ||
"<rootDir>/dist/", | ||
"<rootDir>/node_modules/", | ||
"<rootDir>/test/unit/samples/", | ||
"<rootDir>/test/int/test-data/", | ||
"<rootDir>/test/int/test-data-copy/", | ||
], | ||
testPathIgnorePatterns: [ | ||
"<rootDir>/node_modules/", | ||
"<rootDir>/dist/", | ||
"<rootDir>/lib/", | ||
], | ||
transformIgnorePatterns: ["<rootDir>/node_modules/", "/node_modules/"], | ||
reporters: [ | ||
"default", | ||
[ | ||
"jest-sonar", | ||
{ | ||
reportedFilePath: "relative", | ||
relativeRootDir: "<rootDir>/../../../", | ||
}, | ||
], | ||
], | ||
setupFilesAfterEnv: ["../../jest.setup.js"], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
jest.setTimeout(120000); // 2 min | ||
|
||
// add all jest-extended matchers | ||
const matchers = require("jest-extended"); | ||
expect.extend(matchers); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# @ui5-language-assistant/binding-parser | ||
|
||
## 1.0.1 | ||
|
||
### Patch Changes | ||
|
||
- d8b77af: Provide a minimal code completion and syntax check for property binding info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
const { join } = require("path"); | ||
const defaultConfig = require("../../jest.config"); | ||
|
||
module.exports = { | ||
...defaultConfig, | ||
globals: { | ||
"ts-jest": { | ||
tsconfig: join(__dirname, "tsconfig-test.json"), | ||
diagnostics: { | ||
// warnOnly: true, | ||
exclude: /\.(spec|test)\.ts$/, | ||
}, | ||
}, | ||
}, | ||
}; |
Oops, something went wrong.