atom / autocomplete-snippets

Adds snippets to autocomplete+ suggestions
MIT License
46 stars 50 forks source link

Fix CI failing test #104

Closed lkashef closed 4 years ago

lkashef commented 4 years ago

Problem

Lately this test has been failing

AutocompleteSnippets
61  when autocomplete-plus is enabled
62    it expands the snippet on confirm
63      Expected 'console.log("ohai");
64Do' to contain '} while (true)'.
65        at jasmine.Spec.<anonymous> (C:\projects\autocomplete-snippets\spec\autocomplete-snippets-spec.js:78:34)
66

Resolution

Fixed the test, by properly waiting for autocomplete to appear.