
Research
Security News
The Growing Risk of Malicious Browser Extensions
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
@spartez-software/jira-test
Advanced tools
jira-test
(Beta)helper lib - integration tests
npm install @spartez-software/jira-test --save-dev
TEST_JIRA_URL=https://your-cloud-jira-test-name.atlassian.net
TEST_JIRA_USER=user-that-will-make-changes-in-jira@spartez-software.com
TEST_JIRA_USER_TOKEN=pst! it is a secret, an api token!
import { step, TestLogger } from '@spartez-software/test-utils';
import { Jira, ProjectTemplateKeys } from '@spartez-software/jira-test';
describe('jira tests', () => {
jest.retryTimes(1);
jest.setTimeout(240000);
const jira = Jira.getJiraFromEnv();
const logger = new TestLogger();
let project: string;
it('Should create and destroy project with 2 issues', async () => {
await step('Create jira Project', async () => {
project = await jira.createProject();
expect(project).toBeDefined();
});
logger.log(project);
await step('adding jira issue', async () => {
const issues = [{ summary: 'ala', type: 'Bug' }, { summary: 'pola', type: 'Bug' }];
await jira.createSimpleIssues(project, issues);
});
});
afterEach(async () => {
await step('Delete jira project', async () => {
if (project) {
await jira.deleteProject(project);
}
});
});
it('Should create and destroy servicedesk project', async () => {
await step('Create jira Project', async () => {
project = await jira.createProjectFromTemplate(ProjectTemplateKeys.serviceDesk.simplifiedGeneralServiceDesk);
expect(project).toBeDefined();
});
logger.log(project);
await step('adding jira issue', async () => {
const issues = [{ summary: 'ala', type: 'Task' }, { summary: 'pola', type: 'Task' }];
await jira.createSimpleIssues(project, issues);
});
});
afterEach(async () => {
await step('Delete jira project', async () => {
if (project) {
await jira.deleteProject(project);
}
});
});
});
FAQs
jira integration tests helper lib
The npm package @spartez-software/jira-test receives a total of 806 weekly downloads. As such, @spartez-software/jira-test popularity was classified as not popular.
We found that @spartez-software/jira-test demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover how browser extensions in trusted stores are used to hijack sessions, redirect traffic, and manipulate user behavior.
Research
Security News
An in-depth analysis of credential stealers, crypto drainers, cryptojackers, and clipboard hijackers abusing open source package registries to compromise Web3 development environments.
Security News
pnpm 10.12.1 introduces a global virtual store for faster installs and new options for managing dependencies with version catalogs.