@@ -53,19 +53,27 @@ describe('awsEksDetector', () => {
53
53
fileNotFoundError : new Error ( 'cannot find cgroup file' ) ,
54
54
} ;
55
55
<< < < < << HEAD
56
+ << < < < << HEAD
56
57
57
58
= === ===
58
59
>>> >>> > 7359 cb1e4 ... fix : updated files to adhere to linter
60
+ === === =
61
+
62
+ >>> >>> > 7 d6a1c05d ... fix : updated files to adhere to linter
59
63
const correctCgroupData =
60
64
'abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklm' ;
61
65
const mockedClusterResponse = '{"data":{"cluster.name":"my-cluster"}}' ;
62
66
const mockedAwsAuth = 'my-auth' ;
63
67
const k8s_token = 'Bearer 31ada4fd-adec-460c-809a-9e56ceb75269' ;
68
+ << << << < HEAD
64
69
let sandbox : sinon . SinonSandbox ;
65
70
let readStub , fileStub , getCredStub ;
66
71
72
+ === === =
73
+ > >>> >>> 7 d6a1c05d ... fix : updated files to adhere to linter
67
74
let sandbox : sinon . SinonSandbox ;
68
75
let readStub , fileStub , getCredStub ;
76
+
69
77
beforeEach ( ( ) => {
70
78
sandbox = sinon . createSandbox ( ) ;
71
79
= === ===
@@ -133,6 +141,7 @@ describe('awsEksDetector', () => {
133
141
scope . done ( ) ;
134
142
135
143
sandbox . assert . calledOnce ( fileStub ) ;
144
+ < < < << << HEAD
136
145
< << << << HEAD
137
146
sandbox . assert. calledTwice ( readStub ) ;
138
147
sandbox . assert . calledTwice ( getCredStub ) ;
@@ -141,6 +150,11 @@ describe('awsEksDetector', () => {
141
150
sandbox . assert . calledOnce ( readStub ) ;
142
151
sandbox . assert . calledOnce ( getCredStub ) ;
143
152
> >>> >>> 7359 cb1e4 ... fix: updated files to adhere to linter
153
+ === = ===
154
+ sandbox . assert . calledTwice ( readStub ) ;
155
+ sandbox . assert . calledTwice ( getCredStub ) ;
156
+
157
+ > >>> >>> 7 d6a1c05d ... fix: updated files to adhere to linter
144
158
assert . ok ( resource ) ;
145
159
assertK8sResource ( resource , {
146
160
clusterName : 'my-cluster' ,
0 commit comments