You should define the language by syntax, lints and file format, because what you will define is your application, and how it will be compiled. if it is in js, even with use of lints to correct syntax errors differences between es5 or es6 and etc.
as it is using const, importing with require this Before module, and fact that it is using es6(js)
excellent article on es6
example of checks:
(fun [x] (+ (* 2 x)) qual linguagem ?
you can only know the language of this code if the developer has knowledge about or if your ide has some form of verification.
let lista:Array<Produtos> = [...] qual linguagem ?
or
List<Produto> produtos = this.produtosService.obterTodos();
I believe the easiest way is to use a vscode or sublime style editor that has several tools for this type of checking.
Apparently this seems to be Cucumber, a framework or tool as well as others (Selenium, Karma, Mocha, etc...) which are briefly used to perform functionality tests in code.
– LeAndrade
But this structure where it imports 'Cucumber' and uses the Before method I follow the standard Javascript encoding?
– Ricardo