feat: New features (research, invest, gambling, new game+, trophies)
This commit is contained in:
@@ -311,10 +311,3 @@ test('state survives a serialize / sanitize round trip', () => {
|
||||
assert.equal(back.marketing, 3);
|
||||
});
|
||||
|
||||
test('the full save of a late game state is small enough for cookies', () => {
|
||||
const s = fresh();
|
||||
s.funds = 123456789.123456;
|
||||
for (const g of ctx.generators) s.generators[g.id] = 2500;
|
||||
s.upgrades = ctx.upgrades.map((u) => u.id);
|
||||
assert.ok(serializeState(s).length < 1500);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user