aerial.nvim/tests/treesitter/js_test.js
Don Perignom 9bcfbaf7a7
fix: add treesitter support for JS / TS / TSX generator functions (#289)
* fix: add JS as TS generator functions

* feat: add TSX generator functions
2023-09-15 06:36:17 -07:00

26 lines
554 B
JavaScript

class Cl_1 {
meth_1() {}
cl_fn_3 = () => {}
}
function fn_1() {}
describe("UnitTest", () => {
afterAll(() => {});
afterEach(() => {});
beforeAll(() => {});
beforeEach(() => {});
test("should describe the test", () => {});
it("is an alias for test", () => {});
test.skip("skip this test", () => {});
test.todo("this is a todo");
describe.each([])("Test Suite", () => {
test.each([])("runs multiple times", () => {});
});
});
const fn_2 = () => {};
const fn_3 = function () {};
function* g() {}
const g_1 = function* () {};