mirror of
https://github.com/arduino/arduino-ide.git
synced 2025-11-12 11:49:27 +00:00
Update package index on 3rd party URLs change.
Closes #637 Closes #906 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
@@ -67,52 +67,6 @@ describe('arduino-daemon-impl', () => {
|
||||
track.cleanupSync();
|
||||
});
|
||||
|
||||
// it('should parse an error - address already in use error [json]', async function (): Promise<void> {
|
||||
// if (process.platform === 'win32') {
|
||||
// this.skip();
|
||||
// }
|
||||
// let server: net.Server | undefined = undefined;
|
||||
// try {
|
||||
// server = await new Promise<net.Server>(resolve => {
|
||||
// const server = net.createServer();
|
||||
// server.listen(() => resolve(server));
|
||||
// });
|
||||
// const address = server.address() as net.AddressInfo;
|
||||
// await new SilentArduinoDaemonImpl(address.port, 'json').spawnDaemonProcess();
|
||||
// fail('Expected a failure.')
|
||||
// } catch (e) {
|
||||
// expect(e).to.be.instanceOf(DaemonError);
|
||||
// expect(e.code).to.be.equal(DaemonError.ADDRESS_IN_USE);
|
||||
// } finally {
|
||||
// if (server) {
|
||||
// server.close();
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
|
||||
// it('should parse an error - address already in use error [text]', async function (): Promise<void> {
|
||||
// if (process.platform === 'win32') {
|
||||
// this.skip();
|
||||
// }
|
||||
// let server: net.Server | undefined = undefined;
|
||||
// try {
|
||||
// server = await new Promise<net.Server>(resolve => {
|
||||
// const server = net.createServer();
|
||||
// server.listen(() => resolve(server));
|
||||
// });
|
||||
// const address = server.address() as net.AddressInfo;
|
||||
// await new SilentArduinoDaemonImpl(address.port, 'text').spawnDaemonProcess();
|
||||
// fail('Expected a failure.')
|
||||
// } catch (e) {
|
||||
// expect(e).to.be.instanceOf(DaemonError);
|
||||
// expect(e.code).to.be.equal(DaemonError.ADDRESS_IN_USE);
|
||||
// } finally {
|
||||
// if (server) {
|
||||
// server.close();
|
||||
// }
|
||||
// }
|
||||
// });
|
||||
|
||||
it('should parse the port address when the log format is json', async () => {
|
||||
const { daemon, port } = await new SilentArduinoDaemonImpl(
|
||||
'json'
|
||||
|
||||
Reference in New Issue
Block a user