I have two files (main.chai and timer.chai)
I’ve created a class inside timer.chai called TimerManager and one instance of it (all inside timer.chai).
with use(“timer.chai”) from inside main.chai I can see TimerManager class and create new instances of it, but I can’t actually access the instance I’ve created on the other file. Why does this happen?
How can I access variables from other files? How to make a singleton instance if needed?