Skip to content

@pondoknusa/testing

Testing utilities for Pondoknusa applications

Install

bash
npm install @pondoknusa/testing

Metadata

FieldValue
Version2.0.0
Sourcepackages/testing
CategoryDeveloper experience
Node.js>=26

Pondoknusa dependencies

Public exports

From the package entry point (dist/index.d.ts). Deep imports are not supported.

Values

  • BroadcastFake
  • CookieJar
  • DatasetRow
  • HttpTestClient
  • HydrationManifestSnapshot
  • MailFake
  • NotificationFake
  • RecordedNotification
  • RenderedView
  • SnapshotOptions
  • TestCase
  • TestRequestContext
  • TestResponse
  • assertDontSee
  • assertHtmlSnapshot
  • assertJsonSnapshot
  • assertSee
  • back
  • beginDatabaseTransaction
  • broadcastFake
  • clearTestRequestContext
  • createHttpKernel
  • createTestingMiddleware
  • dataset
  • fake
  • freezeTime
  • getTestRequestContext
  • jsonContains
  • mailFake
  • mockInstance
  • notificationFake
  • renderView
  • rollbackDatabaseTransaction
  • setTestRequestContext
  • spyOnBinding
  • travel
  • uses
  • wireFacades
  • withPondoknusaTest

Types

  • HttpTestOptions
  • JsonValue

Guide

See the Testing guide for usage examples.

Released under the MIT License.