@abstractest/core
TypeScript icon, indicating that this package has built-in type declarations

0.4.4 • Public • Published

@abstractest/core

Abstract testing processor

Usage

Write a test:

// src/test/js/foo.test.js

import { describe, it, expect } from '@abstractest/core'

describe('foo()', () => {
  it('works as expected', () => {
    expect(foo()).toEqual('bar')
  })
})

Run tests via the required runner:

import {run} from '@abstractest/core'

await run({
  cwd: process.cwd(),
  include: ['src/test/ts/**/*'],
  runner: 'native'
})

License

MIT

/@abstractest/core/

    Package Sidebar

    Install

    npm i @abstractest/core

    Weekly Downloads

    25

    Version

    0.4.4

    License

    MIT

    Unpacked Size

    25.9 kB

    Total Files

    12

    Last publish

    Collaborators

    • antongolub