Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LeetCode-OpenSource/ayanami
/ addTips
Method
addTips
test/specs/reducer.spec.ts:26–28 ·
view source on GitHub ↗
(state: TipsState, tips: string)
Source
from the content-addressed store, hash-verified
24
25
@Reducer()
26
addTips(state: TipsState, tips: string): TipsState {
27
return
{ ...state, tips: `${state.tips} ${tips}` }
28
}
29
}
30
31
describe(
'Reducer spec:'
, () => {
Callers
1
reducer.spec.ts
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected