import { getCheckNewMsgs } from '../get'

export async function checkMessageDecryption(
  t: Assertions,
  node: NodeConfig,
  msgUuid,
  text
) {
  // //wait for message to process
  const lastMessage = await getCheckNewMsgs(t, node, msgUuid)
  t.truthy(lastMessage, 'await message post')
