Tech News
← Back to articles

Move tests to closed source repo

read original related products more articles

Move the test suite out of the open source tldraw/tldraw repo and into the closed source repo.

Context

The tldraw monorepo currently contains ~327 test files across unit, integration, and e2e tests:

packages/tldraw : ~148 unit/integration tests (shapes, tools, commands, UI)

: ~148 unit/integration tests (shapes, tools, commands, UI) packages/editor : ~41 unit/integration tests (geometry, managers, tools)

: ~41 unit/integration tests (geometry, managers, tools) packages/store : ~27 unit tests (records, queries, migrations)

: ~27 unit tests (records, queries, migrations) packages/utils : ~30 unit tests (array, cache, media, hashing)

: ~30 unit tests (array, cache, media, hashing) packages/sync-core : ~20 unit/integration tests (room, storage, protocol)

: ~20 unit/integration tests (room, storage, protocol) packages/state : ~12 unit tests (atoms, computed, transactions)

: ~12 unit tests (atoms, computed, transactions) packages/tlschema : ~9 unit tests (schema, migrations)

... continue reading