We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fa3b71 commit 6fd996bCopy full SHA for 6fd996b
test/index.spec.ts
@@ -97,8 +97,8 @@ describe('MobX Lark SDK', async () => {
97
98
expect(first_level_block_ids.length === 2);
99
expect(blocks.length === 2);
100
- expect(blocks[0].block_type === BlockType.heading1);
101
- expect(blocks[1].block_type === BlockType.text);
+ expect(blocks.some(({ block_type }) => block_type === BlockType.heading1));
+ expect(blocks.some(({ block_type }) => block_type === BlockType.text));
102
});
103
104
const blocks = await it('should get blocks of a Document', async expect => {
0 commit comments