{"library":"quip-test-utils","title":"Quip Live Apps Test Utilities","description":"Testing utilities for Quip Live Apps development. Version 0.1.3 is the initial release with basic testing helpers. This package provides utilities to mock Quip Live Apps environment and write unit tests for Quip Live Apps. It includes helpers for creating test records, simulating user actions, and validating Quip-specific behaviors. Key differentiators include tight integration with Quip Live Apps API and simplified test setup. Currently in early development with likely breaking changes.","language":"javascript","status":"active","last_verified":"Sat Apr 25","install":{"commands":["npm install quip-test-utils"],"cli":null},"imports":["import { createQuipTestRecord } from 'quip-test-utils'","import { mockQuipApp } from 'quip-test-utils'","import { simulateUserAction } from 'quip-test-utils'","import { cleanupTestRecords } from 'quip-test-utils'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { createQuipTestRecord, mockQuipApp, simulateUserAction, cleanupTestRecords } from 'quip-test-utils';\n\n// Mock Quip App environment\nmockQuipApp(process.env.QUIP_APP_ID ?? 'test-app-id');\n\n// Create a test record\nconst record = createQuipTestRecord('task', { title: 'Test task', status: 'open' });\n\n// Simulate user action\nsimulateUserAction({ type: 'click', element: record.get('title') });\n\nconsole.log('Record created:', record.getData());\n\n// Clean up after test\ncleanupTestRecords();\n","lang":"typescript","description":"This shows basic setup: mock app environment, create test record, simulate user interaction, and cleanup.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}