mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-09-11 11:15:24 +03:00
Fix failing spec
This commit is contained in:
parent
2dbd99582e
commit
14e3562330
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user