mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-10-23 06:12:23 +00:00
Enable TypeScript (#8074)
* Enable Typescript * Fix tests * Fix tests again * Automatically (re)build * Updates * Updates * Update shrinkwrap * Enable sourcemaps
This commit is contained in:
1 parent
321b34721f
commit
7b65dc631b
25 files changed
+4278
-419
No files matched your search
+1
-1
@@ -39,7 +39,7 @@ describe('Utils', () => {
|
||||
expect(await utils.getZigbee2mqttVersion()).toStrictEqual({"commitHash": "123", "version": version});
|
||||
|
||||
mockReturnValue = [true, null]
|
||||
expect(await utils.getZigbee2mqttVersion()).toStrictEqual({"commitHash": "unknown", "version": version});
|
||||
expect(await utils.getZigbee2mqttVersion()).toStrictEqual({"commitHash": expect.any(String), "version": version});
|
||||
})
|
||||
|
||||
it('Check dependency version', async () => {
|
||||
|
||||
Reference in new issue
Block a user