@@ -11,14 +11,14 @@ import { BlocksChanged } from "../api/getBlocksChangedByTransaction.js";
1111/**
1212 * @vitest -environment jsdom
1313 */
14- it ( "creates an editor" , ( ) => {
14+ it . skip ( "creates an editor" , ( ) => {
1515 const editor = BlockNoteEditor . create ( ) ;
1616 const posInfo = editor . transact ( ( tr ) => getNearestBlockPos ( tr . doc , 2 ) ) ;
1717 const info = getBlockInfo ( posInfo ) ;
1818 expect ( info . blockNoteType ) . toEqual ( "paragraph" ) ;
1919} ) ;
2020
21- it ( "immediately replaces doc" , async ( ) => {
21+ it . skip ( "immediately replaces doc" , async ( ) => {
2222 const editor = BlockNoteEditor . create ( ) ;
2323 const blocks = await editor . tryParseMarkdownToBlocks (
2424 "This is a normal text\n\n# And this is a large heading" ,
@@ -66,7 +66,7 @@ it("immediately replaces doc", async () => {
6666 ` ) ;
6767} ) ;
6868
69- it ( "adds id attribute when requested" , async ( ) => {
69+ it . skip ( "adds id attribute when requested" , async ( ) => {
7070 const editor = BlockNoteEditor . create ( {
7171 setIdAttribute : true ,
7272 } ) ;
@@ -79,14 +79,14 @@ it("adds id attribute when requested", async () => {
7979 ) ;
8080} ) ;
8181
82- it ( "updates block" , ( ) => {
82+ it . skip ( "updates block" , ( ) => {
8383 const editor = BlockNoteEditor . create ( ) ;
8484 editor . updateBlock ( editor . document [ 0 ] , {
8585 content : "hello" ,
8686 } ) ;
8787} ) ;
8888
89- it ( "block prop types" , ( ) => {
89+ it . skip ( "block prop types" , ( ) => {
9090 // this test checks whether the block props are correctly typed in typescript
9191 const editor = BlockNoteEditor . create ( ) ;
9292 const block = editor . document [ 0 ] ;
@@ -106,7 +106,7 @@ it("block prop types", () => {
106106 }
107107} ) ;
108108
109- it ( "onMount and onUnmount" , async ( ) => {
109+ it . skip ( "onMount and onUnmount" , async ( ) => {
110110 const editor = BlockNoteEditor . create ( ) ;
111111 let mounted = false ;
112112 let unmounted = false ;
@@ -128,7 +128,7 @@ it("onMount and onUnmount", async () => {
128128 expect ( unmounted ) . toBe ( true ) ;
129129} ) ;
130130
131- it ( "sets an initial block id when using Y.js" , async ( ) => {
131+ it . skip ( "sets an initial block id when using Y.js" , async ( ) => {
132132 const doc = new Y . Doc ( ) ;
133133 const fragment = doc . getXmlFragment ( "doc" ) ;
134134 let transactionCount = 0 ;
@@ -191,7 +191,7 @@ it("sets an initial block id when using Y.js", async () => {
191191 ) ;
192192} ) ;
193193
194- it ( "onBeforeChange" , ( ) => {
194+ it . skip ( "onBeforeChange" , ( ) => {
195195 const editor = BlockNoteEditor . create ( ) ;
196196 let beforeChangeCalled = false ;
197197 let changes : BlocksChanged < any , any , any > = [ ] ;
0 commit comments