mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-04-28 19:52:02 +00:00
test(cli): remove promptTokens prop from LoadingIndicator tests
This commit is contained in:
parent
617874f152
commit
3a92be09e0
1 changed files with 2 additions and 10 deletions
|
|
@ -345,11 +345,7 @@ describe('<LoadingIndicator />', () => {
|
|||
|
||||
it('should hide tokens in narrow terminal', () => {
|
||||
const { lastFrame } = renderWithContext(
|
||||
<LoadingIndicator
|
||||
{...defaultProps}
|
||||
promptTokens={1000}
|
||||
candidatesTokens={500}
|
||||
/>,
|
||||
<LoadingIndicator {...defaultProps} candidatesTokens={500} />,
|
||||
StreamingState.Responding,
|
||||
79,
|
||||
);
|
||||
|
|
@ -361,11 +357,7 @@ describe('<LoadingIndicator />', () => {
|
|||
|
||||
it('should show tokens in wide terminal with inline format', () => {
|
||||
const { lastFrame } = renderWithContext(
|
||||
<LoadingIndicator
|
||||
{...defaultProps}
|
||||
promptTokens={1000}
|
||||
candidatesTokens={5400}
|
||||
/>,
|
||||
<LoadingIndicator {...defaultProps} candidatesTokens={5400} />,
|
||||
StreamingState.Responding,
|
||||
80,
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue