Fix typos
Signed-off-by: Dimitris Apostolou <dimitris.apostolou@icloud.com>
This commit is contained in:
@@ -332,7 +332,7 @@ describe('JenkinsApi', () => {
|
||||
const result = await jenkinsApi.getProjects(jenkinsInfo);
|
||||
|
||||
expect(result).toHaveLength(1);
|
||||
// TODO: I am really just asserting the previous behaviour wth no understanding here.
|
||||
// TODO: I am really just asserting the previous behaviour with no understanding here.
|
||||
// In my 2 Jenkins instances, 1 returns a lot of different and confusing BuildData sections and 1 returns none ☹️
|
||||
expect(result[0].lastBuild!.source).toEqual({
|
||||
branchName: 'master',
|
||||
|
||||
@@ -97,7 +97,7 @@ export class JenkinsConfig {
|
||||
const unnamedAllPresent = baseUrl && username && apiKey;
|
||||
if (!(unnamedAllPresent || unnamedNonePresent)) {
|
||||
throw new Error(
|
||||
`Found partial default jenkins config. All (or none) of baseUrl, username ans apiKey must be provided.`,
|
||||
`Found partial default jenkins config. All (or none) of baseUrl, username and apiKey must be provided.`,
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user