Implements jest in plugin to test it

#1

Hi,

I’ll try to test plugin flowcharting with but i cant resolve this problem :

D:\Dev\grafana-5.4.3\public\app\core\utils\kbn.ts:1
({“Object.”:function(module,exports,require,__dirname,__filename,global,jest){import _ from ‘lodash’;
^

SyntaxError: Unexpected identifier

> 1 | import kbn from "app/core/utils/kbn"; 

how to fix it in my jest config ?
how to implement jest for grafana libs ?

thx for your help,

Arnaud

#2

Resolved
add public in node_modules