mirror of
https://github.com/colanode/colanode.git
synced 2026-07-10 04:19:19 +02:00
Fix lint errors (import ordering), resolve FileReadStream type mismatch for mobile's Blob-based readStream, move tests from src/__tests__ to top-level test/ directory matching web/server conventions, and add tests for emoji, message, node, radar utils plus an in-memory error log for debugging experimental builds. Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
12 lines
449 B
JavaScript
12 lines
449 B
JavaScript
/** @type {import('jest').Config} */
|
|
module.exports = {
|
|
preset: 'jest-expo',
|
|
testMatch: ['<rootDir>/test/**/*.test.ts', '<rootDir>/test/**/*.test.tsx'],
|
|
moduleNameMapper: {
|
|
'^@colanode/mobile/(.*)$': '<rootDir>/src/$1',
|
|
'^@colanode/core/(.*)$': '<rootDir>/../../packages/core/src/$1',
|
|
'^@colanode/crdt/(.*)$': '<rootDir>/../../packages/crdt/src/$1',
|
|
'^@colanode/client/(.*)$': '<rootDir>/../../packages/client/src/$1',
|
|
},
|
|
};
|