mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-08-16 06:30:22 +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