mirror of
https://github.com/badges/shields.git
synced 2025-11-06 14:09:31 +03:00
Migrate from CommonJS to ESM (#6651)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
'use strict'
|
||||
|
||||
const t = (module.exports = require('../tester').createServiceTester())
|
||||
import { createServiceTester } from '../tester.js'
|
||||
export const t = await createServiceTester()
|
||||
|
||||
t.create('implementation (valid, package version in request)')
|
||||
.get('/beehive/1.0.json')
|
||||
|
||||
Reference in New Issue
Block a user