diff options
Diffstat (limited to 'tests/wpt/web-platform-tests/bluetooth/server/device-same-object.https.html')
-rw-r--r-- | tests/wpt/web-platform-tests/bluetooth/server/device-same-object.https.html | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/tests/wpt/web-platform-tests/bluetooth/server/device-same-object.https.html b/tests/wpt/web-platform-tests/bluetooth/server/device-same-object.https.html index cfd4bc5a202..63624961ec7 100644 --- a/tests/wpt/web-platform-tests/bluetooth/server/device-same-object.https.html +++ b/tests/wpt/web-platform-tests/bluetooth/server/device-same-object.https.html @@ -9,11 +9,13 @@ const test_desc = '[SameObject] test for BluetoothRemoteGATTServer\'s device.'; let device, fake_peripheral; -bluetooth_test(() => getDiscoveredHealthThermometerDevice() - .then(_ => ({device, fake_peripheral} = _)) - .then(() => - fake_peripheral.setNextGATTConnectionResponse({code: HCI_SUCCESS})) - .then(() => device.gatt.connect()) - .then(gatt => assert_equals(gatt.device, gatt.device)), +bluetooth_test( + () => getDiscoveredHealthThermometerDevice() + .then(_ => ({device, fake_peripheral} = _)) + .then( + () => fake_peripheral.setNextGATTConnectionResponse( + {code: HCI_SUCCESS})) + .then(() => device.gatt.connect()) + .then(gatt => assert_equals(gatt.device, gatt.device)), test_desc); </script> |