• turbo 2.10.12 • Packages in scope: bb-plugin-simple-notes • Running test in 1 packages • Remote caching disabled, using shared worktree cache //:ensure-native-modules: cache bypass, force executing c029a73869dc54b2 @bb/process-utils:generate:profile-worker: cache hit, replaying logs 5c2d77c6024749cc @bb/process-utils:generate:profile-worker: @bb/process-utils:generate:profile-worker: > @bb/process-utils@0.0.1 generate:profile-worker @bb/process-utils:generate:profile-worker: > node scripts/generate-profile-worker.mjs @bb/process-utils:generate:profile-worker: @bb/templates:generate:plugin-scaffold: cache hit, replaying logs 6c07b9703a3c7366 @bb/templates:generate:templates: cache hit, replaying logs 8c86bbde21f0b34e @bb/templates:generate:plugin-scaffold: @bb/templates:generate:plugin-scaffold: > @bb/templates@0.0.1 generate:plugin-scaffold @bb/templates:generate:plugin-scaffold: > node ./scripts/generate-plugin-scaffold.mjs @bb/templates:generate:plugin-scaffold: @bb/templates:generate:templates: @bb/templates:generate:templates: > @bb/templates@0.0.1 generate:templates @bb/templates:generate:templates: > node ./scripts/generate-templates.mjs @bb/templates:generate:templates: @bb/plugin-build:generate: cache hit, replaying logs bc9ebffc7bd49be0 @bb/plugin-build:generate: @bb/plugin-build:generate: > @bb/plugin-build@0.0.1 generate @bb/plugin-build:generate: > node ./scripts/generate-plugin-theme.mjs && node ./scripts/generate-runtime-export-manifest.mjs @bb/plugin-build:generate: @bb/plugin-build:generate: plugin-theme.generated.ts up to date @bb/plugin-build:generate: wrote (react@19.2.4) @get-bb/plugin-sdk:build: cache hit, replaying logs ae9887f17b3b16a6 @get-bb/plugin-sdk:build: @get-bb/plugin-sdk:build: > @get-bb/plugin-sdk@0.6.65 build @get-bb/plugin-sdk:build: > node scripts/build-runtime.mjs @get-bb/plugin-sdk:build: @get-bb/plugin-sdk:build: Built 22 @get-bb/plugin-sdk runtime entries. //:ensure-native-modules: //:ensure-native-modules: > bb@ ensure-native-modules //:ensure-native-modules: > node scripts/ensure-native-modules.mjs //:ensure-native-modules: //:ensure-native-modules: [ensure-native-modules] Detached hardlinked better-sqlite3 binary before verification bb-plugin-simple-notes:test: cache miss, executing 48a766cb8b3d79dc bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: > bb-plugin-simple-notes@0.2.3 test bb-plugin-simple-notes:test: > vitest run --config vitest.config.ts "markdown-blocks.test.ts" bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: RUN v4.1.1 bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: stdout | markdown-blocks.test.ts > markdown blocks > saves edited text without unnecessary syntax for a lone tilde bb-plugin-simple-notes:test: {"case":"a lone tilde","saved":"Edited Estimate \\~72 items.\n"} bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: stdout | markdown-blocks.test.ts > markdown blocks > saves edited text without unnecessary syntax for a plain URL bb-plugin-simple-notes:test: {"case":"a plain URL","saved":"Edited Visit \n"} bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: stdout | markdown-blocks.test.ts > markdown blocks > saves consecutive intentional breaks without backslash-only lines bb-plugin-simple-notes:test: {"case":"consecutive breaks","saved":"Alpha.\\\n\\\nOmega.\n"} bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: ❯ |bb-plugin-simple-notes| markdown-blocks.test.ts (13 tests | 3 failed) 349ms bb-plugin-simple-notes:test: × saves edited text without unnecessary syntax for a lone tilde 87ms bb-plugin-simple-notes:test: × saves edited text without unnecessary syntax for a plain URL 25ms bb-plugin-simple-notes:test: × saves consecutive intentional breaks without backslash-only lines 21ms bb-plugin-simple-notes:test: ✓ saves an unedited document byte for byte 44ms bb-plugin-simple-notes:test: ✓ rewrites only the last paragraph 32ms bb-plugin-simple-notes:test: ✓ rewrites only the heading 29ms bb-plugin-simple-notes:test: ✓ rewrites only around a deleted task list 21ms bb-plugin-simple-notes:test: ✓ rewrites only an inserted paragraph 25ms bb-plugin-simple-notes:test: ✓ parses each block on its own 21ms bb-plugin-simple-notes:test: ✓ keeps a document with only reference definitions intact 11ms bb-plugin-simple-notes:test: ✓ keeps a document with old Mac line endings intact 11ms bb-plugin-simple-notes:test: ✓ keeps a document with a reference title ending in a backslash intact 9ms bb-plugin-simple-notes:test: ✓ keeps a document with an unclosed fence after a reference intact 11ms bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: ⎯⎯⎯⎯⎯⎯⎯ Failed Tests 3 ⎯⎯⎯⎯⎯⎯⎯ bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: FAIL |bb-plugin-simple-notes| markdown-blocks.test.ts > markdown blocks > saves edited text without unnecessary syntax for a lone tilde bb-plugin-simple-notes:test: AssertionError: expected 'Edited Estimate \~72 items.\n' to be 'Edited Estimate ~72 items.\n' // Object.is equality bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: - Expected bb-plugin-simple-notes:test: + Received bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: - Edited Estimate ~72 items. bb-plugin-simple-notes:test: + Edited Estimate \~72 items. bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: ❯ markdown-blocks.test.ts:103:21 bb-plugin-simple-notes:test: 101| const saved = save(); bb-plugin-simple-notes:test: 102| console.log(JSON.stringify({ case: _name, saved })); bb-plugin-simple-notes:test: 103| expect(saved).toBe(expected); bb-plugin-simple-notes:test: | ^ bb-plugin-simple-notes:test: 104| } finally { bb-plugin-simple-notes:test: 105| editor.destroy(); bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[1/3]⎯ bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: FAIL |bb-plugin-simple-notes| markdown-blocks.test.ts > markdown blocks > saves edited text without unnecessary syntax for a plain URL bb-plugin-simple-notes:test: AssertionError: expected 'Edited Visit bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: ❯ markdown-blocks.test.ts:103:21 bb-plugin-simple-notes:test: 101| const saved = save(); bb-plugin-simple-notes:test: 102| console.log(JSON.stringify({ case: _name, saved })); bb-plugin-simple-notes:test: 103| expect(saved).toBe(expected); bb-plugin-simple-notes:test: | ^ bb-plugin-simple-notes:test: 104| } finally { bb-plugin-simple-notes:test: 105| editor.destroy(); bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[2/3]⎯ bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: FAIL |bb-plugin-simple-notes| markdown-blocks.test.ts > markdown blocks > saves consecutive intentional breaks without backslash-only lines bb-plugin-simple-notes:test: AssertionError: expected 'Alpha.\\n\\nOmega.\n' not to match /^\\$/m bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: - Expected: bb-plugin-simple-notes:test: /^\\$/m bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: + Received: bb-plugin-simple-notes:test: "Alpha.\\ bb-plugin-simple-notes:test: \\ bb-plugin-simple-notes:test: Omega. bb-plugin-simple-notes:test: " bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: ❯ markdown-blocks.test.ts:118:25 bb-plugin-simple-notes:test: 116| const saved = save(); bb-plugin-simple-notes:test: 117| console.log(JSON.stringify({ case: "consecutive breaks", saved }… bb-plugin-simple-notes:test: 118| expect(saved).not.toMatch(/^\\$/m); bb-plugin-simple-notes:test: | ^ bb-plugin-simple-notes:test: 119| const reopened = open(saved); bb-plugin-simple-notes:test: 120| try { bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯[3/3]⎯ bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: bb-plugin-simple-notes:test: Test Files 1 failed (1) bb-plugin-simple-notes:test: Tests 3 failed | 10 passed (13) bb-plugin-simple-notes:test: Start at 03:43:28 bb-plugin-simple-notes:test: Duration 1.23s (transform 157ms, setup 0ms, import 246ms, tests 349ms, environment 524ms) bb-plugin-simple-notes:test: bb-plugin-simple-notes:test:  ELIFECYCLE  Test failed. See above for more details. bb-plugin-simple-notes#test: ERROR command () /usr/local/bin/pnpm run test markdown-blocks.test.ts exited (1) Tasks: 6 successful, 7 total Cached: 5 cached, 7 total Time: 2.271s Failed: bb-plugin-simple-notes#test ERROR run failed: command exited (1)