Bump prettier to v3 and format all files

This commit is contained in:
Felipe Santos
2024-06-10 00:29:50 -03:00
parent 2a637d92b9
commit fccb4c9afd
138 changed files with 6445 additions and 1678 deletions
@@ -1,13 +1,16 @@
import { expect, it } from "vitest";
import { DefaultAction } from "../../../../src/card-controller/actions/actions/default";
import { createCardAPI } from "../../../test-utils";
import { expect, it } from 'vitest';
import { DefaultAction } from '../../../../src/card-controller/actions/actions/default';
import { createCardAPI } from '../../../test-utils';
it('should handle default action', async () => {
const api = createCardAPI();
const action = new DefaultAction({}, {
action: 'fire-dom-event',
frigate_card_action: 'default',
});
const action = new DefaultAction(
{},
{
action: 'fire-dom-event',
frigate_card_action: 'default',
},
);
await action.execute(api);