Skip to content

Commit

Permalink
improve coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mgunnerud committed Nov 10, 2024
1 parent 537844f commit 4601a44
Showing 1 changed file with 19 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ const accessPackageAreaTransport = {
shortDescription: '',
};

const accessPackageAreaOther = {
id: 'other-area',
name: 'Annet',
description: '',
iconName: 'TruckIcon',
shortDescription: '',
};

const skattPackage = {
id: 'urn:altinn:accesspackage:skatt',
urn: 'urn:altinn:accesspackage:skatt',
Expand Down Expand Up @@ -54,7 +62,17 @@ const lufttransportPackage = {
area: accessPackageAreaTransport,
};

const accessPackages = [sjofartPackage, lufttransportPackage, skattPackage];
const revisorPackage = {
id: 'urn:altinn:accesspackage:revisor',
urn: 'urn:altinn:accesspackage:revisor',
name: 'Revisor',
description: '',
services: [],
tags: [],
area: accessPackageAreaOther,
};

const accessPackages = [sjofartPackage, lufttransportPackage, skattPackage, revisorPackage];

describe('PolicyAccessPackages', () => {
afterEach(jest.clearAllMocks);
Expand Down

0 comments on commit 4601a44

Please sign in to comment.