napperley
09/05/2018, 11:54 PM> Task :js:runJest FAILED
FAIL build/test/js_test.js
● Test suite failed to run
Cannot find module 'kotlin' from 'js_test.js'
3 | define(['exports', 'kotlin', 'kotlin-test'], factory);
4 | else if (typeof exports === 'object')
> 5 | factory(module.exports, require('kotlin'), require('kotlin-test'));
| ^
6 | else {
7 | if (typeof kotlin === 'undefined') {
8 | throw new Error("Error loading module 'js_test'. Its dependency 'kotlin' was not found. Please, check whether 'kotlin' is loaded prior to 'js_test'.");
at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:221:17)
at require (build/test/js_test.js:5:29)
at Object.<anonymous> (build/test/js_test.js:1:2)
Test Suites: 1 failed, 1 total
What is the way to resolve JS dependencies?napperley
09/06/2018, 2:28 AM