Closed eduter closed 4 years ago
Something like this, in TestEnvironment.ts, should be enough:
TestEnvironment.ts
[ 'ConstructionSite', 'Creep', 'Flag', 'Mineral', 'Nuke', 'OwnedStructure', 'Resource', 'Room', 'RoomObject', 'RoomVisual', 'Source', 'Structure', 'StructureContainer', 'StructureController', 'StructureExtension', 'StructureExtractor', 'StructureFactory', 'StructureInvaderCore', 'StructureLab', 'StructureLink', 'StructureKeeperLair', 'StructureNuker', 'StructureObserver', 'StructurePortal', 'StructurePowerBank', 'StructurePowerSpawn', 'StructureRampart', 'StructureRoad', 'StructureSpawn', 'StructureStorage', 'StructureTerminal', 'StructureTower', 'StructureWall', 'Spawning', 'Tombstone' ].forEach(className => { this.global[className] = { prototype: {} }; });
:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Something like this, in
TestEnvironment.ts
, should be enough: