Skip to content

Commit

Permalink
Remove legacy DNB Hierarchy page (#7483)
Browse files Browse the repository at this point in the history
  • Loading branch information
cgsunkel authored Jan 23, 2025
1 parent 2f0c7e5 commit eb5a248
Show file tree
Hide file tree
Showing 24 changed files with 0 additions and 1,179 deletions.
13 changes: 0 additions & 13 deletions src/apps/companies/__test__/repos.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,17 +143,4 @@ describe('Company repository', () => {
expect(actual).to.deep.equal({ hello: true })
})
})

describe('getRelatedCompanies', () => {
it('should make the correct call to the API', async () => {
const authorisedRequestStub = sinon.stub().resolves({})
const repo = makeRepositoryWithAuthRequest(authorisedRequestStub)

await repo.getRelatedCompanies(stubRequest, '123', false, true)

expect(authorisedRequestStub).to.be.calledOnceWithExactly(stubRequest, {
url: `${config.apiRoot}/v4/dnb/123/related-companies?include_subsidiary_companies=true&include_parent_companies=false`,
})
})
})
})
217 changes: 0 additions & 217 deletions src/apps/companies/apps/dnb-hierarchy/__test__/middleware.test.js

This file was deleted.

30 changes: 0 additions & 30 deletions src/apps/companies/apps/dnb-hierarchy/__test__/repos.test.js

This file was deleted.

8 changes: 0 additions & 8 deletions src/apps/companies/apps/dnb-hierarchy/__test__/router.test.js

This file was deleted.

This file was deleted.

37 changes: 0 additions & 37 deletions src/apps/companies/apps/dnb-hierarchy/__test__/utils.js

This file was deleted.

Loading

0 comments on commit eb5a248

Please sign in to comment.