wasm-rquickjs-cli 0.5.3

Tool for wrapping JavaScript modules as WebAssembly components using the QuickJS engine
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import assert from 'assert';
import { AssemblyAI } from 'assemblyai';

export const run = () => {
  const client = new AssemblyAI({ apiKey: 'test-api-key' });

  assert.ok(client.files, 'files service should exist');
  assert.ok(client.transcripts, 'transcripts service should exist');
  assert.ok(client.lemur, 'lemur service should exist');
  assert.ok(client.realtime, 'realtime service should exist');
  assert.ok(client.streaming, 'streaming service should exist');

  return 'PASS: AssemblyAI client exposes core services';
};