Skip to content

Commit

Permalink
Update src/components/base/b-tree/test/unit/active-items.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Artem Shinkaruk <[email protected]>
  • Loading branch information
kobezzza and shining-mind authored Feb 8, 2024
1 parent ea28fef commit c96120b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/base/b-tree/test/unit/active-items.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ test.describe('<b-tree> active items API', () => {

test('the `active` prop should accept scalar value', async ({page}) => {
const tree = await renderTree(page, {items, attrs: {active: 0, multiple: true}});
test.expect(await evaluateActive(tree)).toEqual([0]);
await test.expect(evaluateActive(tree)).resolves.toEqual([0]);
});

test('the `active` prop should accept `Array`', async ({page}) => {
Expand Down

0 comments on commit c96120b

Please sign in to comment.