Hi,
I am using intern for unit testing of my custom widget.
I am getting error when I use dojo.byId() in any method of custom widget code. can you please let me know if i have to import any specific library in test class?
If I comment this line dojo.byId() in widget code, Test is getting passed.
1.I have added dojo dependency in node_modules->package.json ->dependencies section
"dojo":"^1.14.0"
2.imported below modules in test class ----
define([
'intern!object',
'intern/chai!assert',
'app/testRoute/Methods',"dojo/_base/declare",
"dojo/dom-construct", "dojo/_base/window", "dojo/_base/lang","esri/layers/FeatureLayer",