'use strict';

var Yeelight = require('../lib/yeelight').Yeelight;
const yeelight = new Yeelight({verbose: true, discoveryTimeout: 100});

yeelight
  .discover(2000)
  .then((devices) => console.log(devices.length));

@@ -12,11 +12,13 @@
 ';%0A%0A
-var
+const
  Yee
@@ -110,31 +110,8 @@
 true
-, discoveryTimeout: 100
 %7D);%0A

Update discover.js