Skip to content

Commit 828603c

Browse files
committed
fix integration test
1 parent d7cebc3 commit 828603c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

addons/addon-progress/test/ProgressAddon.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ test.describe('ProgressAddon', () => {
2525
window.progressAddon?.dispose();
2626
window.progressAddon = new ProgressAddon();
2727
window.term.loadAddon(window.progressAddon);
28-
window.progressAddon.register((state, value) => window.progressStack.push({state, value}));
28+
window.progressAddon.onChange(progress => window.progressStack.push(progress));
2929
`);
3030
});
3131

0 commit comments

Comments
 (0)