release: WRNexusJS 0.8.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "component-showcase",
|
||||
"version": "0.1.0",
|
||||
"version": "0.8.0",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
|
||||
@@ -187,7 +187,7 @@ test("every declared public event is documented and visible in the playground",
|
||||
expect(source).toContain("data-playground-event-log");
|
||||
for (const event of component.events) {
|
||||
expect(source).toContain(`<code>@${event}</code>`);
|
||||
expect(source).toContain(`@${event}='console.log(event.detail)'`);
|
||||
expect(source).toContain(`@${event}='console.log(payload)'`);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user