Skip to content

Commit

Permalink
fix: restructure all command tests to use new structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jun 20, 2019
1 parent 433a998 commit 957ed76
Show file tree
Hide file tree
Showing 6 changed files with 292 additions and 126 deletions.
6 changes: 3 additions & 3 deletions src/commands/DownstreamKey/DownstreamKeyAutoCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ export class DownstreamKeyAutoCommand extends AbstractCommand {

properties: null

deserialize () {
// nothing
}
// deserialize () {
// // nothing
// }

serialize () {
const rawCommand = 'DDsA'
Expand Down
6 changes: 3 additions & 3 deletions src/commands/DownstreamKey/DownstreamKeyOnAirCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ export class DownstreamKeyOnAirCommand extends AbstractCommand {
onAir: boolean
}

deserialize () {
// nothing
}
// deserialize () {
// // nothing
// }

serialize () {
const rawCommand = 'CDsL'
Expand Down
6 changes: 3 additions & 3 deletions src/commands/DownstreamKey/DownstreamKeyTieCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ export class DownstreamKeyTieCommand extends AbstractCommand {
tie: boolean
}

deserialize () {
// nothing
}
// deserialize () {
// // nothing
// }

serialize () {
const rawCommand = 'CDsT'
Expand Down
2 changes: 1 addition & 1 deletion src/commands/MixEffects/Key/MixEffectKeyDVECommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class MixEffectKeyDVECommand extends AbstractCommand {
maskLeft: Util.parseNumberBetween(rawCommand.readUInt16BE(52), 0, 52000),
maskRight: Util.parseNumberBetween(rawCommand.readUInt16BE(54), 0, 52000),

rate: Util.parseNumberBetween(rawCommand.readInt8(56), 0, 250)
rate: Util.parseNumberBetween(rawCommand.readUInt8(56), 0, 250)
}
}

Expand Down
Loading

0 comments on commit 957ed76

Please sign in to comment.