Skip to content

Commit a03a4a4

Browse files
committed
chore: typo
1 parent 48c4fbb commit a03a4a4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/plugin-rsc/src/transforms/hoist.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ describe('fixtures', () => {
2020
`$$register(${value}, "<id>", ${JSON.stringify(name)})`,
2121
directive: 'use server',
2222
})
23-
const snaphsot = result.output.hasChanged()
23+
const snapshot = result.output.hasChanged()
2424
? result.output.toString()
2525
: '/* NO CHANGE */'
26-
await expect(snaphsot).toMatchFileSnapshot(file + '.snap.js')
26+
await expect(snapshot).toMatchFileSnapshot(file + '.snap.js')
2727
})
2828
}
2929
})

packages/plugin-rsc/src/transforms/scope.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ function serializeScopeTree(
102102
return node.name
103103
}
104104
// <unknown>/computed/optional shouldn't show up
105-
// since they aren't colelcted as reference node yet.
105+
// since they aren't collected as reference node yet.
106106
const object =
107107
node.object.type === 'Identifier' ||
108108
node.object.type === 'MemberExpression'

0 commit comments

Comments
 (0)