Skip to content

Commit 397492e

Browse files
monkbrockeeramis
authored andcommitted
Fix CI
1 parent 34d17e6 commit 397492e

File tree

5 files changed

+11
-8
lines changed

5 files changed

+11
-8
lines changed

src/cli/cloud.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ describe('Cloud Command-Line Interface', () => {
6464
'Display a list of your devices, as well as their variables and functions',
6565
'Usage: particle cloud list [options] [filter]',
6666
'',
67-
'Param filter can be: online, offline, a platform name (core, photon, p1, electron, argon, boron, xenon, esomx, bsom, b5som, tracker, trackerm, p2, msom), a device ID or name',
67+
'Param filter can be: online, offline, a platform name (core, photon, p1, electron, argon, boron, xenon, esomx, bsom, b5som, tracker, trackerm, p2, msom, electron2), a device ID or name',
6868
''
6969
].join('\n'));
7070
});
@@ -308,7 +308,7 @@ describe('Cloud Command-Line Interface', () => {
308308
' particle cloud compile photon Compile the source code in the current directory in the cloud for a `photon`',
309309
' particle cloud compile electron project --saveTo electron.bin Compile the source code in the project directory in the cloud for an `electron` and save it to a file named `electron.bin`',
310310
'',
311-
'Param deviceType can be: core, c, photon, p, p1, electron, e, argon, a, boron, b, xenon, x, esomx, bsom, b5som, tracker, assettracker, trackerm, p2, photon2, msom, muon',
311+
'Param deviceType can be: core, c, photon, p, p1, electron, e, argon, a, boron, b, xenon, x, esomx, bsom, b5som, tracker, assettracker, trackerm, p2, photon2, msom, muon, electron2',
312312
''
313313
].join('\n'));
314314
});

src/cli/usb.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ describe('USB Command-Line Interface', () => {
6363
' --exclude-dfu Do not list devices which are in DFU mode [boolean]',
6464
' --ids-only Print only device IDs [boolean]',
6565
'',
66-
'Param filter can be: online, offline, a platform name (core, photon, p1, electron, argon, boron, xenon, esomx, bsom, b5som, tracker, trackerm, p2, msom), a device ID or name',
66+
'Param filter can be: online, offline, a platform name (core, photon, p1, electron, argon, boron, xenon, esomx, bsom, b5som, tracker, trackerm, p2, msom, electron2), a device ID or name',
6767
''
6868
].join('\n'));
6969
});

src/lib/utilities.test.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ describe('Utilities', () => {
2222
'tracker': 26,
2323
'trackerm': 28,
2424
'p2': 32,
25-
'msom': 35
25+
'msom': 35,
26+
'electron2': 37
2627
});
2728
});
2829
});
@@ -52,7 +53,8 @@ describe('Utilities', () => {
5253
'p2': 32,
5354
'photon2': 32,
5455
'msom': 35,
55-
'muon': 35
56+
'muon': 35,
57+
'electron2': 37
5658
});
5759
});
5860
});
@@ -73,7 +75,8 @@ describe('Utilities', () => {
7375
26: 'Asset Tracker / Monitor One',
7476
28: 'Tracker-M',
7577
32: 'Photon 2 / P2',
76-
35: 'M-SoM'
78+
35: 'M-SoM',
79+
37: 'Electron 2'
7780
});
7881
});
7982
});

test/e2e/compile.e2e.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ describe('Compile Commands', () => {
3131
' particle compile photon Compile the source code in the current directory in the cloud for a `photon`',
3232
' particle compile electron project --saveTo electron.bin Compile the source code in the project directory in the cloud for an `electron` and save it to a file named `electron.bin`',
3333
'',
34-
'Param deviceType can be: core, c, photon, p, p1, electron, e, argon, a, boron, b, xenon, x, esomx, bsom, b5som, tracker, assettracker, trackerm, p2, photon2, msom, muon',
34+
'Param deviceType can be: core, c, photon, p, p1, electron, e, argon, a, boron, b, xenon, x, esomx, bsom, b5som, tracker, assettracker, trackerm, p2, photon2, msom, muon, electron2',
3535
];
3636

3737
beforeEach(async () => {

test/e2e/list.e2e.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ describe('List Commands', () => {
1717
' -v, --verbose Increases how much logging to display [count]',
1818
' -q, --quiet Decreases how much logging to display [count]',
1919
'',
20-
'Param filter can be: online, offline, a platform name (core, photon, p1, electron, argon, boron, xenon, esomx, bsom, b5som, tracker, trackerm, p2, msom), a device ID or name'
20+
'Param filter can be: online, offline, a platform name (core, photon, p1, electron, argon, boron, xenon, esomx, bsom, b5som, tracker, trackerm, p2, msom, electron2), a device ID or name'
2121
];
2222

2323
before(async () => {

0 commit comments

Comments
 (0)