Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F1037472
test-helpers.js
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
485 B
Referenced Files
None
Subscribers
None
test-helpers.js
View Options
/*
* This file is part of kazv.
* SPDX-FileCopyrightText: 2023 tusooa <tusooa@kazv.moe>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
class
FluentMock
{
constructor
()
{}
get
(
id
,
args
)
{
return
`
${
id
}
,
${
JSON
.
stringify
(
args
)
}
`
;
}
};
const
fluentMock
=
new
FluentMock
();
const
factory
=
{
room
(
props
)
{
return
Object
.
assign
({
name
:
'some name'
,
heroNames
:
[],
tagIds
:
[],
membership
:
1
,
// Join
timeline
:
0
,
},
props
);
},
};
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Wed, May 14, 7:19 AM (1 d, 10 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
101468
Default Alt Text
test-helpers.js (485 B)
Attached To
Mode
rK kazv
Attached
Detach File
Event Timeline
Log In to Comment