Skip to content

Commit

Permalink
Merge pull request #902 from savetheclocktower/tree-sitter-hotfix
Browse files Browse the repository at this point in the history
Fix failing spec
  • Loading branch information
savetheclocktower authored Jan 30, 2024
2 parents 2dbd995 + 11ebeea commit ca25930
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions spec/wasm-tree-sitter-language-mode-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1695,7 +1695,12 @@ describe('WASMTreeSitterLanguageMode', () => {
});

describe('.suggestedIndentForBufferRows', () => {
beforeEach(async () => {
await atom.packages.activatePackage('language-javascript');
})

it('works correctly when straddling an injection boundary', async () => {

const jsGrammar = new WASMTreeSitterGrammar(atom.grammars, jsGrammarPath, jsConfig);

jsGrammar.addInjectionPoint(HTML_TEMPLATE_LITERAL_INJECTION_POINT);
Expand Down

0 comments on commit ca25930

Please sign in to comment.