diff --git a/generic-sensor/generic-sensor-tests.js b/generic-sensor/generic-sensor-tests.js index 7aac34945212e3..129ccd48543d6d 100644 --- a/generic-sensor/generic-sensor-tests.js +++ b/generic-sensor/generic-sensor-tests.js @@ -283,17 +283,6 @@ function runGenericSensorTests(sensorName, }, `${sensorName}: Test that sensor can be successfully created and its\ states are correct.`); - sensor_test(async t => { - assert_implements(sensorName in self, `${sensorName} is not supported.`); - const sensor = new sensorType(); - const sensorWatcher = new EventWatcher(t, sensor, ["activate", "error"]); - const start_return = sensor.start(); - - await sensorWatcher.wait_for("activate"); - assert_equals(start_return, undefined); - sensor.stop(); - }, `${sensorName}: sensor.start() returns undefined.`); - sensor_test(async t => { assert_implements(sensorName in self, `${sensorName} is not supported.`); const sensor = new sensorType(); @@ -307,17 +296,6 @@ function runGenericSensorTests(sensorName, }, `${sensorName}: no exception is thrown when calling start() on already\ started sensor.`); - sensor_test(async t => { - assert_implements(sensorName in self, `${sensorName} is not supported.`); - const sensor = new sensorType(); - const sensorWatcher = new EventWatcher(t, sensor, ["activate", "error"]); - sensor.start(); - - await sensorWatcher.wait_for("activate"); - const stop_return = sensor.stop(); - assert_equals(stop_return, undefined); - }, `${sensorName}: sensor.stop() returns undefined.`); - sensor_test(async t => { assert_implements(sensorName in self, `${sensorName} is not supported.`); const sensor = new sensorType();