securingsincity/react-ace

Jest Test Case

Opened this issue · 2 comments

Problem

image

Detail the problem here, including any possible solutions.

Sample code to reproduce your issue

References

Progress on: #

H have same issue
I get this

 console.error
    Unable to infer path to ace from script src, use ace.config.set('basePath', 'path') to enable dynamic loading of modes and themes or with webpack use ace/webpack-resolver

And when I import import 'ace-builds/webpack-resolver' it gives me same error as the above.
How to I solve this?

If you are using webpack 5 or newer, try using import 'ace-builds/esm-resolver'