Skip to content

Commit

Permalink
Fixed the tests
Browse files Browse the repository at this point in the history
  • Loading branch information
6XGate committed Nov 13, 2024
1 parent 9150298 commit c7d03bd
Showing 1 changed file with 5 additions and 35 deletions.
40 changes: 5 additions & 35 deletions src/tests/main/services/ports.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,26 +316,6 @@ describe('parsing PnP ID', () => {
serialNumber: 'XXXXXXXX',
title: 'FTDI',
vendorId: '0403'
},
{
locationId: undefined,
manufacturer: undefined,
path: '/dev/ttyUSB5',
pnpId: 'FTDI_FT232R_USB_UART_XXXXXXXX-if00-port0',
productId: '6001',
serialNumber: 'XXXXXXXX',
title: '/dev/ttyUSB5',
vendorId: '0403'
},
{
locationId: undefined,
manufacturer: undefined,
path: '/dev/ttyUSB6',
pnpId: 'FTDI_FT232R_USB_UART_XXXXXXXX',
productId: '6001',
serialNumber: 'XXXXXXXX',
title: '/dev/ttyUSB6',
vendorId: '0403'
}
])
})
Expand Down Expand Up @@ -405,7 +385,7 @@ describe('parsing PnP ID', () => {
pnpId: 'usb-FTDI_FT232R_USB_UART_XXXXXXXX',
productId: '6001',
serialNumber: 'XXXXXXXX',
title: 'FTDI',
title: '/dev/ttyUSB0',
vendorId: '0403'
},
{
Expand All @@ -415,7 +395,7 @@ describe('parsing PnP ID', () => {
pnpId: 'FTDI_FT232R_USB_UART_XXXXXXXX-if00-port0',
productId: '6001',
serialNumber: 'XXXXXXXX',
title: 'FTDI',
title: '/dev/ttyUSB1',
vendorId: '0403'
},
{
Expand All @@ -425,7 +405,7 @@ describe('parsing PnP ID', () => {
pnpId: 'FTDI_FT232R_USB_UART_XXXXXXXX',
productId: '6001',
serialNumber: 'XXXXXXXX',
title: 'FTDI',
title: '/dev/ttyUSB2',
vendorId: '0403'
},
{
Expand All @@ -435,7 +415,7 @@ describe('parsing PnP ID', () => {
pnpId: 'if00-port0-port1',
productId: '6001',
serialNumber: 'XXXXXXXX',
title: 'FTDI',
title: '/dev/ttyUSB3',
vendorId: '0403'
},
{
Expand All @@ -445,17 +425,7 @@ describe('parsing PnP ID', () => {
pnpId: 'FTDI_FT232R_USB_UART_XXXXXXXX-if00-port0',
productId: '6001',
serialNumber: 'XXXXXXXX',
title: 'FTDI',
vendorId: '0403'
},
{
locationId: undefined,
manufacturer: undefined,
path: '/dev/ttyUSB5',
pnpId: 'FTDI_FT232R_USB_UART_XXXXXXXX-if00-port0',
productId: '6001',
serialNumber: 'XXXXXXXX',
title: '/dev/ttyUSB5',
title: '/dev/ttyUSB4',
vendorId: '0403'
}
])
Expand Down

0 comments on commit c7d03bd

Please sign in to comment.