Skip to content

Commit

Permalink
test(svelte3): Enable test for event parsing for bracket notation (Ka…
Browse files Browse the repository at this point in the history
  • Loading branch information
soft-decay committed Jan 27, 2021
1 parent 69eb003 commit 689a174
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/svelte3/integration/events/events.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ describe('SvelteDoc v3 - Events', () => {
});
});

xit('Dispatch event from code should be found when using an identifier from array', (done) => {
it('Dispatch event from code should be found when using an identifier with bracket notation', (done) => {
parser.parse({
version: 3,
filename: path.resolve(__dirname, 'event.dispatcher.arrayIdentifier.svelte'),
Expand All @@ -362,7 +362,7 @@ describe('SvelteDoc v3 - Events', () => {
}).then((doc) => {
expect(doc, 'Document should be provided').to.exist;
expect(doc.events, 'Document events should be parsed').to.exist;
expect(doc.events.length).to.equal(2);
expect(doc.events.length).to.equal(1);

const event = doc.events[0];

Expand Down

0 comments on commit 689a174

Please sign in to comment.