We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bde956 commit 49182ebCopy full SHA for 49182eb
packages/core/test/lib/scope.test.ts
@@ -300,7 +300,15 @@ describe('Scope', () => {
300
it('notifies scope listeners after deletion', () => {
301
const scope = new Scope();
302
const listener = vi.fn();
303
+
304
scope.addScopeListener(listener);
305
+ scope.setAttribute('str', { type: 'string', value: 'b' });
306
+ expect(listener).toHaveBeenCalledTimes(1);
307
308
+ listener.mockClear();
309
310
+ scope.removeAttribute('str');
311
312
});
313
314
it('does nothing if the attribute does not exist', () => {
0 commit comments