Skip to content

Commit e618d4c

Browse files
committed
fix: ignore jscpd duplicate in test data
1 parent 3f90f66 commit e618d4c

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/core/src/test/awsService/apprunner/explorer/apprunnerServiceNode.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ describe('AppRunnerServiceNode', function () {
3737

3838
mockApprunnerClient = stub(AppRunnerClient, { regionCode: 'us-east-1' })
3939
mockApprunnerClient.listOperations.resolves({ OperationSummaryList: [] })
40+
// jscpd:ignore-start
4041
mockParentNode = stub(AppRunnerNode, {
4142
regionCode: '',
4243
client: mockApprunnerClient,
@@ -53,6 +54,7 @@ describe('AppRunnerServiceNode', function () {
5354
accessibilityInformation: undefined,
5455
checkboxState: undefined,
5556
})
57+
// jscpd:ignore-end
5658
node = new AppRunnerServiceNode(mockParentNode, mockApprunnerClient, exampleInfo, {}, cloudwatchClient)
5759
})
5860

packages/core/src/test/ssmDocument/commands/updateDocumentVersion.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ describe('openDocumentItem', async function () {
5757
fakeDoc,
5858
ssmClient,
5959
fakeRegion,
60+
// jscpd:ignore-start
6061
stub(RegistryItemNode, {
6162
documentType: '',
6263
regionCode: '',
@@ -74,6 +75,7 @@ describe('openDocumentItem', async function () {
7475
accessibilityInformation: undefined,
7576
checkboxState: undefined,
7677
})
78+
// jscpd:ignore-end
7779
)
7880
sinon.stub(documentNode, 'listSchemaVersion').resolves(fakeSchemaList)
7981
const updateVersionStub = sinon.stub(documentNode, 'updateDocumentVersion')

0 commit comments

Comments
 (0)