Skip to content

Commit

Permalink
Fixes filter-player-view.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
vdfdev committed Oct 11, 2022
1 parent b9a97ec commit 6f1d3a3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/master/filter-player-view.test.ts
Expand Up @@ -310,16 +310,16 @@ describe('redactLog', () => {
});

test('make move args to be secret depends on G via conditional redact', async () => {
const game = {
const game: Game = {
setup: () => ({
isASecret: false,
}),
moves: {
A: {
move: (G) => G,
redact: (G) => G.isASecret,
move: ({ G }) => G,
redact: ({ G }) => G.isASecret,
},
B: (G) => {
B: ({ G }) => {
return { ...G, isASecret: true };
},
},
Expand Down

0 comments on commit 6f1d3a3

Please sign in to comment.