Skip to content

Commit ba56dd2

Browse files
fix use of dom and kb mocks
1 parent 6d18e63 commit ba56dd2

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

test/unit/widgets/buttons.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,10 +76,7 @@ describe('askName', () => {
7676
focus: () => {},
7777
addEventListener: () => {}
7878
}
79-
const dom = {
80-
createElement: () => element
81-
}
82-
const kb = {}
79+
const kb = RdfLib.graph()
8380
const container = element
8481
const predicate = {}
8582
const klass = {}

0 commit comments

Comments
 (0)