Migrate from CommonJS to ESM (#6651)

This commit is contained in:
Pierre-Yves B
2021-07-09 12:53:55 +01:00
committed by GitHub
parent 23678fe2f5
commit 23c0406bed
1130 changed files with 4457 additions and 6711 deletions

View File

@@ -1,14 +1,12 @@
'use strict'
import Joi from 'joi'
import { isSemver } from '../test-validators.js'
import { ServiceTester } from '../tester.js'
const Joi = require('joi')
const { isSemver } = require('../test-validators')
const { ServiceTester } = require('../tester')
const t = (module.exports = new ServiceTester({
export const t = new ServiceTester({
id: 'GithubRelease',
title: 'Github Release',
pathPrefix: '/github',
}))
})
t.create('Release')
.get('/v/release/expressjs/express.json')