fix(test): add first account test

This commit is contained in:
Philipp Kunz 2019-11-18 14:54:40 +00:00
parent 097039c34c
commit e2e20bab94
2 changed files with 6 additions and 5 deletions

View File

@ -1,8 +1,11 @@
import { expect, tap } from '@pushrocks/tapbundle'; import { expect, tap } from '@pushrocks/tapbundle';
import * as letterxpress from '../ts/index'; import * as letterxpress from '../ts/index';
tap.test('first test', async () => { let testAccount: letterxpress.LetterXpressAccount;
console.log('first test');
tap.test('should create a valid account', async () => {
testAccount = new letterxpress.LetterXpressAccount();
expect(testAccount).to.be.instanceOf(letterxpress.LetterXpressAccount);
}); });
tap.start(); tap.start();

View File

@ -1,3 +1 @@
import * as plugins from './letterxpress.plugins'; export * from './letterxpress.classes.account';
export let standardExport = 'Hi there! :) This is an exported string';