From e2e20bab94bb7a76127498e79889c70b738eea17 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Mon, 18 Nov 2019 14:54:40 +0000 Subject: [PATCH] fix(test): add first account test --- test/test.ts | 7 +++++-- ts/index.ts | 4 +--- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/test/test.ts b/test/test.ts index bb57dec..1515b2d 100644 --- a/test/test.ts +++ b/test/test.ts @@ -1,8 +1,11 @@ import { expect, tap } from '@pushrocks/tapbundle'; import * as letterxpress from '../ts/index'; -tap.test('first test', async () => { - console.log('first test'); +let testAccount: letterxpress.LetterXpressAccount; + +tap.test('should create a valid account', async () => { + testAccount = new letterxpress.LetterXpressAccount(); + expect(testAccount).to.be.instanceOf(letterxpress.LetterXpressAccount); }); tap.start(); diff --git a/ts/index.ts b/ts/index.ts index 33e97d2..87877a0 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -1,3 +1 @@ -import * as plugins from './letterxpress.plugins'; - -export let standardExport = 'Hi there! :) This is an exported string'; +export * from './letterxpress.classes.account';