mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 21:55:52 +02:00
Archive Update 53.1 (#62)
* Normalize BOM and line endings * Archive update 0.53.1
This commit is contained in:
committed by
Eliot Partridge
parent
3599e91bc0
commit
782f8c731c
@@ -1012,28 +1012,28 @@ describe('ServerActions', () => {
|
||||
describe('editorAction()', () => {
|
||||
it('places', () => {
|
||||
client.isMod = true;
|
||||
server.flags.objects = true;
|
||||
server.flags.editor = true;
|
||||
|
||||
serverActions.editorAction({ type: 'place', x: 0, y: 0, entity: 'foo' });
|
||||
});
|
||||
|
||||
it('undos', () => {
|
||||
client.isMod = true;
|
||||
server.flags.objects = true;
|
||||
server.flags.editor = true;
|
||||
|
||||
serverActions.editorAction({ type: 'undo' });
|
||||
});
|
||||
|
||||
it('clears', () => {
|
||||
client.isMod = true;
|
||||
server.flags.objects = true;
|
||||
server.flags.editor = true;
|
||||
|
||||
serverActions.editorAction({ type: 'clear' });
|
||||
});
|
||||
|
||||
it('does nothing for non-mod client', () => {
|
||||
client.isMod = false;
|
||||
server.flags.objects = true;
|
||||
server.flags.editor = true;
|
||||
|
||||
serverActions.editorAction({ type: 'undo' });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user