mirror of
https://github.com/badges/shields.git
synced 2025-07-14 14:41:02 +03:00
Migrate from CommonJS to ESM (#6651)
This commit is contained in:
@ -1,7 +1,6 @@
|
||||
'use strict'
|
||||
|
||||
const { isMetricOverTimePeriod } = require('../test-validators')
|
||||
const t = (module.exports = require('../tester').createServiceTester())
|
||||
import { isMetricOverTimePeriod } from '../test-validators.js'
|
||||
import { createServiceTester } from '../tester.js'
|
||||
export const t = await createServiceTester()
|
||||
|
||||
t.create('Monthly Questions for StackOverflow Momentjs')
|
||||
.get('/stackoverflow/qm/momentjs.json')
|
||||
|
Reference in New Issue
Block a user