Page MenuHomePhorge

test-helpers.js
No OneTemporary

Size
485 B
Referenced Files
None
Subscribers
None

test-helpers.js

/*
* 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

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)

Event Timeline