1
This commit is contained in:
@@ -466,7 +466,7 @@ function GameFlowHarness({
|
||||
<div>
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => handleCustomWorldSelect(profile)}
|
||||
onClick={() => handleCustomWorldSelect(profile, { mode: 'play' })}
|
||||
>
|
||||
选择世界
|
||||
</button>
|
||||
@@ -528,8 +528,8 @@ test('saved custom world result settings flow into game state after entering the
|
||||
});
|
||||
|
||||
expect(readSnapshot().playerCharacterName).toBe('沈砺');
|
||||
expect(readSnapshot().runtimeMode).toBe('test');
|
||||
expect(readSnapshot().runtimePersistenceDisabled).toBe(true);
|
||||
expect(readSnapshot().runtimeMode).toBe('play');
|
||||
expect(readSnapshot().runtimePersistenceDisabled).toBe(false);
|
||||
expect(readSnapshot().playerInventoryNames).toContain('旧潮短刃');
|
||||
expect(readSnapshot().playerInventoryNames).toContain('旧潮图残页');
|
||||
expect(readSnapshot().playerEquipment.weapon).toBe('旧潮短刃');
|
||||
|
||||
Reference in New Issue
Block a user