Skip to content

Commit

Permalink
fix undefined children
Browse files Browse the repository at this point in the history
  • Loading branch information
thewahome committed Nov 3, 2023
1 parent 8a07e55 commit 4561de9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const resource = JSON.parse(JSON.stringify(content)) as IResource;
describe('API Manifest should', () => {
it.only('have requests generated', async () => {
const version = 'v1.0';
const filtered = createResourcesList(resource.children, version)[0];
const filtered = createResourcesList(resource.children!, version)[0];
const item: any = filtered.links[0];
const paths = getResourcePaths(item, version);
const manifest = generateAPIManifest({ paths, permissions: undefined, scopeType: 'Application_DelegatedWork' });
Expand Down

0 comments on commit 4561de9

Please sign in to comment.