Skip to content

Commit aed3998

Browse files
committed
test(workflow-code): tighten the type check dedupe test
1 parent 84790e8 commit aed3998

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎packages/sim-cli/src/commands/protocol/workspace-source-get.test.ts‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ describe('the type check of workspaces source check', () => {
11691169

11701170
it.each([
11711171
['the resources listed', true],
1172-
['no resource listing (a caller the listing refuses)', false],
1172+
['no resource listing (the listing route not found)', false],
11731173
])(
11741174
'types a table a new tables/<key>.ts declares, in the same check, with %s',
11751175
async (_, listed) => {
@@ -1255,6 +1255,7 @@ describe('the type check of workspaces source check', () => {
12551255

12561256
await runWorkspaceSource('check', dir)
12571257

1258+
expect(result().checked).toEqual(['compile', 'types'])
12581259
const codes = result().diagnostics.map(({ code, line }) => `${code}:${line}`)
12591260
expect(codes).toContain('E_UNKNOWN_PARAM:7')
12601261
expect(codes).not.toContain('E_TYPE:7')

0 commit comments

Comments
 (0)