Skip to content

Test platform swithed from ava to vitest #322

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Sep 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
122 changes: 78 additions & 44 deletions examples/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions examples/package.json
Original file line number Diff line number Diff line change
@@ -12,9 +12,9 @@
},
"license": "MIT",
"devDependencies": {
"@types/node": "^20.12.12",
"@types/node": "^22.5.2",
"ts-node": "^10.9.2",
"typescript": "^5.4.5"
"typescript": "^5.5.4"
},
"dependencies": {
"jira.js": "latest"
Loading

Unchanged files with check annotations Beta

propertyValue: 'N/a',
});
console.log(fix);

Check warning on line 22 in examples/src/addFixVersion.ts

GitHub Actions / Lint Code (18.x)

Unexpected console statement

Check warning on line 22 in examples/src/addFixVersion.ts

GitHub Actions / Lint Code (20.x)

Unexpected console statement
}
addFixVersion().catch(e => {
console.error(e);

Check warning on line 26 in examples/src/addFixVersion.ts

GitHub Actions / Lint Code (18.x)

Unexpected console statement

Check warning on line 26 in examples/src/addFixVersion.ts

GitHub Actions / Lint Code (20.x)

Unexpected console statement
throw new Error(e.errorMessages?.join(' '));
});
timeSpentSeconds: 60, // Required one of `timeSpentSeconds` or `timeSpent`
});
console.log(`Worklog successfully added for Issue Id: ${worklog.issueId}`);

Check warning on line 23 in examples/src/addWorklog.ts

GitHub Actions / Lint Code (18.x)

Unexpected console statement

Check warning on line 23 in examples/src/addWorklog.ts

GitHub Actions / Lint Code (20.x)

Unexpected console statement
}
addWorklog().catch(e => {
console.error(e);

Check warning on line 27 in examples/src/addWorklog.ts

GitHub Actions / Lint Code (18.x)

Unexpected console statement

Check warning on line 27 in examples/src/addWorklog.ts

GitHub Actions / Lint Code (20.x)

Unexpected console statement
throw new Error(e.errorMessages.join(' '));
});
const issue = await client.issues.getIssue({ issueIdOrKey: id });
console.log(`Issue '${issue.fields.summary}' was successfully added to '${project.name}' project.`);

Check warning on line 31 in examples/src/basic.ts

GitHub Actions / Lint Code (18.x)

Unexpected console statement

Check warning on line 31 in examples/src/basic.ts

GitHub Actions / Lint Code (20.x)

Unexpected console statement
} else {
const myself = await client.myself.getCurrentUser();
const project = await client.projects.getProject({ projectIdOrKey: id.toString() });
console.log(`Project '${project.name}' was successfully created.`);

Check warning on line 44 in examples/src/basic.ts

GitHub Actions / Lint Code (18.x)

Unexpected console statement

Check warning on line 44 in examples/src/basic.ts

GitHub Actions / Lint Code (20.x)

Unexpected console statement
}
}
main()
.catch(e => {
console.error(e);

Check warning on line 50 in examples/src/basic.ts

GitHub Actions / Lint Code (18.x)

Unexpected console statement

Check warning on line 50 in examples/src/basic.ts

GitHub Actions / Lint Code (20.x)

Unexpected console statement
throw new Error(JSON.stringify(e));
});