Open FutureAstroMiner opened 3 years ago
I have been looking around for a solution to this issue but I can't find one.
The alternative is to use Jest as this issue seams to have been fixed by eduter in screeps-typescript-jest-starter but integration tests are not available.
Should Object.defineProperty be done in a different way?
Try again with
enumerable: false,
Using Object.defineProperty like:
and importing this into the main file causes the test to fail to build with a reference error
ReferenceError: Creep is not defined