Skip to content

Commit

Permalink
test(module:transfer): fix test case error (#8852)
Browse files Browse the repository at this point in the history
  • Loading branch information
Laffery authored Nov 1, 2024
1 parent 195ad26 commit c5659c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion components/transfer/transfer.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,9 @@ describe('transfer', () => {
});

it('should have correct disable state on moving buttons', () => {
const transferOperationButtons: DebugElement[] = dl.queryAll(By.css('.ant-transfer-operation > button'));
const transferOperationButtons: DebugElement[] = debugElement.queryAll(
By.css('.ant-transfer-operation > button')
);
const transferToRightButton: HTMLElement = transferOperationButtons[1].nativeNode;
expect((transferToRightButton as NzSafeAny)['disabled']).toEqual(true);
pageObject.checkItem('left', 0);
Expand Down

0 comments on commit c5659c6

Please sign in to comment.