mirror of
https://gitdab.com/cadence/out-of-your-element.git
synced 2025-09-10 12:22:50 +02:00
Add tests for reactions interaction
This commit is contained in:
parent
61803c3838
commit
33915a595d
6 changed files with 121 additions and 14 deletions
|
@ -1,11 +1,8 @@
|
|||
const {test} = require("supertape")
|
||||
const data = require("../../../test/data")
|
||||
const DiscordTypes = require("discord-api-types/v10")
|
||||
const {db, discord} = require("../../passthrough")
|
||||
const {MatrixServerError} = require("../../matrix/mreq")
|
||||
const {_interact, _interactButton} = require("./matrix-info")
|
||||
const {_interact} = require("./matrix-info")
|
||||
|
||||
test("matrix info: checks if message has bridged", async t => {
|
||||
test("matrix info: checks if message is bridged", async t => {
|
||||
const msg = await _interact({
|
||||
data: {
|
||||
target_id: "0"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue