diff --git a/packages/editor/src/extensions/code-block/tests/__snapshots__/code-block.test.ts.snap b/packages/editor/src/extensions/code-block/tests/__snapshots__/code-block.test.ts.snap index a7045e33e..f79c033eb 100644 --- a/packages/editor/src/extensions/code-block/tests/__snapshots__/code-block.test.ts.snap +++ b/packages/editor/src/extensions/code-block/tests/__snapshots__/code-block.test.ts.snap @@ -1,11 +1,11 @@ // Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html -exports[`codeblocks should get highlighted after pasting 1`] = `"
function hello() { }
function hello() { }
"`; +exports[`codeblocks should get highlighted after pasting 1`] = `"
function hello() { }
function hello() { }
"`; -exports[`codeblocks should get highlighted on init 1`] = `"
function hello() { }
function hello() { }
"`; +exports[`codeblocks should get highlighted on init 1`] = `"
function hello() { }
function hello() { }
"`; -exports[`codeblocks should not be updated if other content is changed 1`] = `"
function hello() { }
function hello() { }

A new paragraph.

"`; +exports[`codeblocks should not be updated if other content is changed 1`] = `"
function hello() { }
function hello() { }

A new paragraph.

"`; -exports[`editing code in a highlighted code block should not be too slow 1`] = `"
function hello() { }
function hello() { }const hello0 = 0;const hello1 = 1;const hello2 = 2;const hello3 = 3;const hello4 = 4;const hello5 = 5;const hello6 = 6;const hello7 = 7;const hello8 = 8;const hello9 = 9;const hello10 = 10;const hello11 = 11;const hello12 = 12;const hello13 = 13;const hello14 = 14;const hello15 = 15;const hello16 = 16;const hello17 = 17;const hello18 = 18;const hello19 = 19;const hello20 = 20;const hello21 = 21;const hello22 = 22;const hello23 = 23;const hello24 = 24;const hello25 = 25;const hello26 = 26;const hello27 = 27;const hello28 = 28;const hello29 = 29;const hello30 = 30;const hello31 = 31;const hello32 = 32;const hello33 = 33;const hello34 = 34;const hello35 = 35;const hello36 = 36;const hello37 = 37;const hello38 = 38;const hello39 = 39;const hello40 = 40;const hello41 = 41;const hello42 = 42;const hello43 = 43;const hello44 = 44;const hello45 = 45;const hello46 = 46;const hello47 = 47;const hello48 = 48;const hello49 = 49;const hello50 = 50;const hello51 = 51;const hello52 = 52;const hello53 = 53;const hello54 = 54;const hello55 = 55;const hello56 = 56;const hello57 = 57;const hello58 = 58;const hello59 = 59;const hello60 = 60;const hello61 = 61;const hello62 = 62;const hello63 = 63;const hello64 = 64;const hello65 = 65;const hello66 = 66;const hello67 = 67;const hello68 = 68;const hello69 = 69;const hello70 = 70;const hello71 = 71;const hello72 = 72;const hello73 = 73;const hello74 = 74;const hello75 = 75;const hello76 = 76;const hello77 = 77;const hello78 = 78;const hello79 = 79;const hello80 = 80;const hello81 = 81;const hello82 = 82;const hello83 = 83;const hello84 = 84;const hello85 = 85;const hello86 = 86;const hello87 = 87;const hello88 = 88;const hello89 = 89;const hello90 = 90;const hello91 = 91;const hello92 = 92;const hello93 = 93;const hello94 = 94;const hello95 = 95;const hello96 = 96;const hello97 = 97;const hello98 = 98;const hello99 = 99;
"`; +exports[`editing code in a highlighted code block should not be too slow 1`] = `"
function hello() { }
function hello() { }const hello0 = 0;const hello1 = 1;const hello2 = 2;const hello3 = 3;const hello4 = 4;const hello5 = 5;const hello6 = 6;const hello7 = 7;const hello8 = 8;const hello9 = 9;const hello10 = 10;const hello11 = 11;const hello12 = 12;const hello13 = 13;const hello14 = 14;const hello15 = 15;const hello16 = 16;const hello17 = 17;const hello18 = 18;const hello19 = 19;const hello20 = 20;const hello21 = 21;const hello22 = 22;const hello23 = 23;const hello24 = 24;const hello25 = 25;const hello26 = 26;const hello27 = 27;const hello28 = 28;const hello29 = 29;const hello30 = 30;const hello31 = 31;const hello32 = 32;const hello33 = 33;const hello34 = 34;const hello35 = 35;const hello36 = 36;const hello37 = 37;const hello38 = 38;const hello39 = 39;const hello40 = 40;const hello41 = 41;const hello42 = 42;const hello43 = 43;const hello44 = 44;const hello45 = 45;const hello46 = 46;const hello47 = 47;const hello48 = 48;const hello49 = 49;const hello50 = 50;const hello51 = 51;const hello52 = 52;const hello53 = 53;const hello54 = 54;const hello55 = 55;const hello56 = 56;const hello57 = 57;const hello58 = 58;const hello59 = 59;const hello60 = 60;const hello61 = 61;const hello62 = 62;const hello63 = 63;const hello64 = 64;const hello65 = 65;const hello66 = 66;const hello67 = 67;const hello68 = 68;const hello69 = 69;const hello70 = 70;const hello71 = 71;const hello72 = 72;const hello73 = 73;const hello74 = 74;const hello75 = 75;const hello76 = 76;const hello77 = 77;const hello78 = 78;const hello79 = 79;const hello80 = 80;const hello81 = 81;const hello82 = 82;const hello83 = 83;const hello84 = 84;const hello85 = 85;const hello86 = 86;const hello87 = 87;const hello88 = 88;const hello89 = 89;const hello90 = 90;const hello91 = 91;const hello92 = 92;const hello93 = 93;const hello94 = 94;const hello95 = 95;const hello96 = 96;const hello97 = 97;const hello98 = 98;const hello99 = 99;
"`; -exports[`pasting code from vscode should automatically create a syntax highlighted codeblock 1`] = `"
function hello() { }
"`; +exports[`pasting code from vscode should automatically create a syntax highlighted codeblock 1`] = `"
function hello() { }
"`;