From 8c8b1d8776f0797d7a25963fd685de41bf843daa Mon Sep 17 00:00:00 2001 From: haozhigang Date: Wed, 5 Oct 2022 16:44:41 +0800 Subject: [PATCH] fix(test): add a test case to fix unit test error --- test/index.test.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/index.test.ts b/test/index.test.ts index fe13470..c880ebc 100644 --- a/test/index.test.ts +++ b/test/index.test.ts @@ -1 +1,7 @@ -describe('test index ', () => {}); +import Printer from '../src/index'; +describe('test index ', () => { + it('echo', () => { + const printer = new Printer(); + expect(printer).toHaveProperty('connect'); + }); +});