Skip to content

Commit 277b53a

Browse files
committed
fix linting and tests
1 parent 7252134 commit 277b53a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/renderers-vixen-parser/src/getRenderMapVisitor.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,13 +109,13 @@ export function getRenderMapVisitor(options: GetRenderMapOptions = {}) {
109109
accounts: ix.accounts.map((acc, accIdx) => {
110110
return {
111111
index: accIdx,
112-
name: acc.name,
113112
isOptional: acc.isOptional,
113+
name: acc.name,
114114
};
115115
}),
116116
discriminator,
117-
hasOptionalAccounts,
118117
hasArgs,
118+
hasOptionalAccounts,
119119
name: ix.name,
120120
};
121121
});

packages/renderers-vixen-parser/test/accountsParserPage.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { accountNode, camelCase, rootNode } from '@codama/nodes';
2-
import { visit } from 'codama';
2+
import { visit } from '@codama/visitors-core';
33
import { test } from 'vitest';
44

55
import { getRenderMapVisitor } from '../src';

0 commit comments

Comments
 (0)