Skip to content

Commit 1c37865

Browse files
committed
Update coverage.
1 parent 01bdd64 commit 1c37865

19 files changed

+1770
-446155
lines changed

node-client/coverage/api.ts.html

Lines changed: 0 additions & 220833 deletions
This file was deleted.

node-client/coverage/auth-wrapper.ts.html

Lines changed: 0 additions & 147 deletions
This file was deleted.

node-client/coverage/config.ts.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ <h1>
2525
<span class='fraction'>126/145</span>
2626
</div>
2727
<div class='fl pad1y space-right2'>
28-
<span class="strong">96.49% </span>
28+
<span class="strong">96.55% </span>
2929
<span class="quiet">Branches</span>
30-
<span class='fraction'>55/57</span>
30+
<span class='fraction'>56/58</span>
3131
</div>
3232
<div class='fl pad1y space-right2'>
3333
<span class="strong">67.74% </span>
@@ -915,7 +915,7 @@ <h1>
915915
];
916916
}
917917
&nbsp;
918-
public loadFromCluster() {
918+
public loadFromCluster(pathPrefix: string = '') {
919919
const host = process.env.KUBERNETES_SERVICE_HOST;
920920
const port = process.env.KUBERNETES_SERVICE_PORT;
921921
const clusterName = 'inCluster';
@@ -930,15 +930,15 @@ <h1>
930930
this.clusters = [
931931
{
932932
name: clusterName,
933-
caFile: Config.SERVICEACCOUNT_CA_PATH,
933+
caFile: `${pathPrefix}${Config.SERVICEACCOUNT_CA_PATH}`,
934934
server: `${scheme}://${host}:${port}`,
935935
skipTLSVerify: false,
936936
},
937937
];
938938
this.users = [
939939
{
940940
name: userName,
941-
token: fs.readFileSync(Config.SERVICEACCOUNT_TOKEN_PATH).toString(),
941+
token: fs.readFileSync(`${pathPrefix}${Config.SERVICEACCOUNT_TOKEN_PATH}`).toString(),
942942
},
943943
];
944944
this.contexts = [
@@ -1129,7 +1129,7 @@ <h1>
11291129
</div><!-- /wrapper -->
11301130
<div class='footer quiet pad2 space-top1 center small'>
11311131
Code coverage
1132-
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Wed Sep 19 2018 21:35:04 GMT-0700 (PDT)
1132+
generated by <a href="https://istanbul.js.org/" target="_blank">istanbul</a> at Mon Oct 08 2018 16:14:23 GMT-0700 (PDT)
11331133
</div>
11341134
</div>
11351135
<script src="prettify.js"></script>

0 commit comments

Comments
 (0)