Closed MathieuAndrade closed 2 years ago
Merging #91 (b18c9c5) into main (656f745) will increase coverage by
0.17%
. The diff coverage is95.68%
.
@@ Coverage Diff @@
## main #91 +/- ##
==========================================
+ Coverage 93.73% 93.91% +0.17%
==========================================
Files 99 68 -31
Lines 1118 887 -231
Branches 61 58 -3
==========================================
- Hits 1048 833 -215
+ Misses 51 37 -14
+ Partials 19 17 -2
Impacted Files | Coverage Δ | |
---|---|---|
server/src/core/device/capabilities/onOff.ts | 77.77% <77.77%> (ø) |
|
server/src/core/device/device.exec.ts | 85.71% <85.71%> (ø) |
|
server/src/core/device/device.register.ts | 87.50% <87.50%> (ø) |
|
server/src/core/device/device.getCapabilityById.ts | 88.88% <88.88%> (ø) |
|
server/src/api/routes/v1/capability.ts | 100.00% <100.00%> (ø) |
|
server/src/api/routes/v1/device.ts | 100.00% <100.00%> (ø) |
|
server/src/core/device/capabilities/brightness.ts | 100.00% <100.00%> (ø) |
|
server/src/core/device/device.setCapability.ts | 100.00% <100.00%> (ø) |
|
...er/src/core/device/device.setCapabilitySettings.ts | 100.00% <100.00%> (ø) |
|
...erver/src/core/device/device.setCapabilityState.ts | 100.00% <100.00%> (ø) |
|
... and 3 more |
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.
1 files ± 0 158 suites - 31 34s :stopwatch: -5s 476 tests - 98 476 :heavy_check_mark: - 98 0 :zzz: ±0 0 :x: ±0 485 runs - 98 485 :heavy_check_mark: - 98 0 :zzz: ±0 0 :x: ±0
Results for commit b18c9c50. ± Comparison against base commit 43715edb.
1 files ±0 158 suites ±0 34s :stopwatch: ±0s 476 tests ±0 476 :heavy_check_mark: ±0 0 :zzz: ±0 0 :x: ±0 485 runs ±0 485 :heavy_check_mark: ±0 0 :zzz: ±0 0 :x: ±0
Results for commit 7c452ee6. ± Comparison against base commit 7c452ee6.
Unit Test Results
1 files ± 0 158 suites - 31 29s :stopwatch: -10s 473 tests - 101 473 :heavy_check_mark: - 101 0 :zzz: ±0 0 :x: ±0 482 runs - 101 482 :heavy_check_mark: - 101 0 :zzz: ±0 0 :x: ±0
Results for commit 1c1f0dde. ± Comparison against base commit 43715edb.
This pull request removes 131 and adds 30 tests. Note that renamed tests count towards both.
``` should close on a device ‑ features.close should close on a device should create a device ‑ Device.create should create a device should create a device ‑ POST /api/v1/device should create a device should fast forward on a media ‑ features.media.fastForward should fast forward on a media should get battery on a device ‑ features.battery should get battery on a device should get brightness from a light ‑ features.light.brightness should get brightness from a light should get channel from a media ‑ features.media.channel should get channel from a media should get features from valid device ‑ Subdevice.getFeatures should get features from valid device should get hue from a light ‑ features.light.hue should get hue from a light should get metadata on a media ‑ features.media.getMetadata should get metadata on a media … ``` ``` should exec a device action ‑ Device.exec should exec a device action should not exec a device action with wrong device id ‑ Device.exec should not exec a device action with wrong device id should not found a device capability ‑ Device.getCapabilityById should not found a device capability should not found an device to destroy ‑ Device.destroy should not found an device to destroy should not register a device with empty plugin id ‑ Device.register should not register a device with empty plugin id should not register a device with empty plugin id ‑ POST /api/v1/device should not register a device with empty plugin id should not register a device with wrong plugin id ‑ Device.register should not register a device with wrong plugin id should not register a device with wrong plugin id ‑ POST /api/v1/device should not register a device with wrong plugin id should not set a capability settings with empty capability id ‑ Device.setCapabilitySettings should not set a capability settings with empty capability id should not set a capability settings with wrong capability id ‑ Device.setCapabilitySettings should not set a capability settings with wrong capability id … ```