CoolFace
Apppublic

strong-tie/inbound-calls

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
version.test.js15 linesDownload Raw Back to build
1'use strict'2 3const fs = require('node:fs')4const path = require('node:path')5const { test } = require('node:test')6const fastify = require('../../fastify')()7 8test('should be the same as package.json', t => {9  t.plan(1)10 11  const json = JSON.parse(fs.readFileSync(path.join(__dirname, '..', '..', 'package.json')).toString('utf8'))12 13  t.assert.strictEqual(fastify.version, json.version)14})15