blob: a86cc33b02523cbcd923b6bc922f401e0b677d60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
'use strict'
const { validateEqual } = require('validation-utils')
const { randomContent } = require('./data')
const EXPECTED_RESULT = randomContent.toString()
async function validateAccuracy (actualResultPromise) {
const result = await actualResultPromise
validateEqual(result, EXPECTED_RESULT)
}
module.exports = {
validateAccuracy
}
|