rahulmr-ibm

Results 3 comments of rahulmr-ibm

when we are doing vm.createContext(global), we are not able to access window in the js files, even though we have injected window into context

> You're trying to run `vm` inside of `vm`, which is not _really_ supported. Why do you need to do that? Im working on a legacy js project, we don't...

> > inject some js files globally before all tests runs, especially some class. > > Is there any better approach to do this. > > https://jestjs.io/docs/configuration#setupfiles-array should do what...