Skip to content

Commit e183e69

Browse files
committed
test: cover independent log pretty option
1 parent 2074a2c commit e183e69

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/log_test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ describe('Log', () => {
6262
},
6363
});
6464
const options: LogOptions = {
65-
follow: true,
65+
follow: false,
6666
limitBytes: 100,
6767
pretty: true,
6868
previous: true,
@@ -73,7 +73,7 @@ describe('Log', () => {
7373

7474
pool.intercept({
7575
method: 'GET',
76-
path: '/api/v1/namespaces/default/pods/mypod/log?container=mycontainer&follow=true&limitBytes=100&pretty=true&previous=true&sinceSeconds=1&tailLines=1&timestamps=true',
76+
path: '/api/v1/namespaces/default/pods/mypod/log?container=mycontainer&follow=false&limitBytes=100&pretty=true&previous=true&sinceSeconds=1&tailLines=1&timestamps=true',
7777
}).reply(200, 'log data');
7878

7979
const controller = await log.log(namespace, podName, containerName, stream, options);

0 commit comments

Comments
 (0)