From 8917f131d66f5604b13394673d3f6eb4c5443d4d Mon Sep 17 00:00:00 2001 From: Mathew Heard Date: Fri, 9 Dec 2022 19:54:19 +1100 Subject: [PATCH] test fixes --- test/foundation.test.js | 6 ++---- test/functional.test.js | 4 ++-- test/zcl.test.js | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/test/foundation.test.js b/test/foundation.test.js index 0cca794..aff9d1f 100644 --- a/test/foundation.test.js +++ b/test/foundation.test.js @@ -1,9 +1,7 @@ var expect = require('chai').expect, - zclId = require('zcl-id'), - _ = require('busyman'); + zclId = require('zcl-id') -var zclmeta = require('../lib/packet/zclmeta'), - FoundClass = require('../lib/packet/foundation'); +var FoundClass = require('../lib/packet/Foundation'); var foundCmd = [], k; diff --git a/test/functional.test.js b/test/functional.test.js index f8938d5..7988dce 100644 --- a/test/functional.test.js +++ b/test/functional.test.js @@ -3,8 +3,8 @@ var expect = require('chai').expect, chance = new Chance(), zclId = require('zcl-id'); -var zclmeta = require('../lib/packet/zclmeta'), - FuncClass = require('../lib/packet/functional'); +var zclmeta = require('../lib/packet/ZclMeta'), + FuncClass = require('../lib/packet/Functional'); var clusterIds = [], k; diff --git a/test/zcl.test.js b/test/zcl.test.js index 3235c85..e106370 100644 --- a/test/zcl.test.js +++ b/test/zcl.test.js @@ -1,5 +1,5 @@ var expect = require('chai').expect, - zcl = require('../lib/packet'); + zcl = require('../lib/Packet'); describe('APIs Arguments Check for Throwing Error', function() { describe('#.frame', function() {