mirror of
https://github.com/badges/shields.git
synced 2025-07-24 20:42:04 +03:00
Migrate from CommonJS to ESM (#6651)
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
'use strict'
|
||||
|
||||
const { isIntegerPercentage } = require('../test-validators')
|
||||
const t = (module.exports = require('../tester').createServiceTester())
|
||||
import { isIntegerPercentage } from '../test-validators.js'
|
||||
import { createServiceTester } from '../tester.js'
|
||||
export const t = await createServiceTester()
|
||||
|
||||
t.create('doc percent (valid)').get('/AFNetworking.json').expectBadge({
|
||||
label: 'docs',
|
||||
|
Reference in New Issue
Block a user