Open mohit-jasapara opened 6 years ago
When running a unit test in Jest that uses uniqid the same problem appears:
Test suite failed to run
ReferenceError: interface_key is not defined
> 6 | const uniqid = require('uniqid');
I encounter this error when I run test in Jest also, is there any solution yet regarding this issue?
@mohit-jasapara , does your solution need to be applied on the minified bundle or on uniqid source code before minified?
Missing initializer in const declaration error when creating minified build
const networkInterface,length;
Solution: Replace
const networkInterface -> var networkInterface const length -> var length