1
0
mirror of https://github.com/badges/shields.git synced 2025-07-05 13:41:14 +03:00

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,7 +1,6 @@
'use strict'
const { isFormattedDate } = require('../test-validators')
const t = (module.exports = require('../tester').createServiceTester())
import { isFormattedDate } from '../test-validators.js'
import { createServiceTester } from '../tester.js'
export const t = await createServiceTester()
t.create('last commit (recent)')
.get('/eslint/eslint.json')