ToolJet/plugins/_templates/plugin/new/tests.ejs.t
Maurits Lourens 60f515d19c
Feature/2395 - add eslint to plugins (#2402)
* merge develop

* Add eslint dependencies, configs and scripts to plugins project

* run lint with Github action

* ignore tests and dist folders

* fun eslint with --fix and manual fixes, renamed __tests_ to __tests__

* add plugins packages folder to lint-staged config

* fix lint issue
2022-03-10 12:29:48 +05:30

10 lines
191 B
Perl

---
to: <%= plugins_path %>/packages/<%= name %>/__tests__/index.js
---
'use strict';
const <%= name %> = require('../lib');
describe('<%= name %>', () => {
it.todo('needs tests');
});