Skip to content

Commit

Permalink
Fix failing spec
Browse files Browse the repository at this point in the history
  • Loading branch information
savetheclocktower committed Jan 30, 2024
1 parent 2dbd995 commit 14e3562
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/wasm-tree-sitter-language-mode-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1696,6 +1696,10 @@ describe('WASMTreeSitterLanguageMode', () => {

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

atom.config.set('language-javascript.indentation.indentBraces', true);
atom.config.set('language-javascript.indentation.indentBrackets', true);
atom.config.set('language-javascript.indentation.indentParentheses', true);
const jsGrammar = new WASMTreeSitterGrammar(atom.grammars, jsGrammarPath, jsConfig);

jsGrammar.addInjectionPoint(HTML_TEMPLATE_LITERAL_INJECTION_POINT);
Expand Down

0 comments on commit 14e3562

Please sign in to comment.