'use babel';

/* eslint-env atomtest */
/* global atom */

import grammarTest from '../lib/main';
import { fixtureFilename } from './utils';


describe('Atom Grammar Test Jasmine', () => {
  describe('C Syntax Assertions', () => {
    beforeEach(() => waitsForPromise(() => atom.packages.activatePackage('language-c')));
    grammarTest(fixtureFilename('C/syntax_test_c_example.c'));
    grammarTest(fixtureFilename('C/syntax_test_c_example2.c'));
  });
  describe('HTML Syntax Assertions', () => {
    beforeEach(() => waitsForPromise(() => atom.packages.activatePackage('language-html')));
    grammarTest(fixtureFilename('HTML/syntax_test_html_example.html'));
    grammarTest(fixtureFilename('HTML/syntax_test_html_inline.html'));
  });
});

@@ -182,16 +182,90 @@
 () =%3E %7B%0A
+  beforeEach(() =%3E atom.config.set('core.useTreeSitterParsers', false));%0A%0A
   descri

Disable tree-sitter for tests