UNPKG

castrguru

Version:

A comprehensive JavaScript Library + SDK for building Farcaster frame-based applications.

42 lines (32 loc) 984 B
/* Import (test) modules. */ import { expect } from 'chai' /* Import class. */ // import { Blank } from '../../index.js' /* Import (individual) modules. */ // import { // classMethod1, // classMethod2, // } from '../../index.js' /* Import test(-ing) vectors. */ import { GURUS_TEST_PARAM, } from '../test_vectors.js' describe( 'Class Test Suite', () => { before( () => { console.info( ` ↳ targeting all JavaScript methods provided by the 'Class' class.` ) } ) describe( 'Class -> Method', () => { it( 'should do something useful', () => { /* Set parameters. */ const params = {} /* TBD. */ const myClass = new Class(params) expect(myClass).to.equal(GURUS_TEST_PARAM) } ) } ) describe( 'errors', () => { it( 'should return a (missing prefix) error', () => { // expect(err.toString()).to.include('Missing prefix') } ) } ) } )