1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-16 04:45:20 +03:00

change check from === 'MacOS' to !== 'Windows'

This commit is contained in:
Adem Gaygusuz 2018-06-03 10:37:55 +01:00
parent 6fd0153b91
commit 3e69bc7cbd
2 changed files with 3 additions and 3 deletions

View file

@ -43,7 +43,7 @@ describe('TABS.cli', () => {
// Ambigous auto-complete from firmware is preceded with an \r carriage return
// which only renders a line break on Mac
const expectedValue = GUI.operating_system === "MacOS" ?
const expectedValue = GUI.operating_system !== "Windows" ?
'se<br>serialpassthrough\tservo<br>' :
'seserialpassthrough\tservo<br>';
expect(cliOutput.html()).to.equal(expectedValue);