Skip to content

Commit aa519f3

Browse files
authored
Fix broken tests (openscd#1065)
1 parent 0a31aaf commit aa519f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/Logging.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe('LoggingElement', () => {
3030

3131
it('cannot undo warning messages', () => {
3232
element.dispatchEvent(
33-
({ kind: 'warning', title: 'test warning' })
33+
newLogEvent({ kind: 'warning', title: 'test warning' })
3434
);
3535
expect(element).property('history').to.have.lengthOf(1);
3636
expect(element).property('canUndo').to.be.false;

0 commit comments

Comments
 (0)