deno.land / x / dayjs@v1.11.5 / test / plugin / declarations.test.js

declarations.test.js
نووسراو ببینە
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import fs from 'fs'import path from 'path'
const pluginDir = '../../src/plugin'const pluginTypeDir = '../../types/plugin'
it('Plugin declarations', () => { fs.readdirSync(path.join(__dirname, pluginDir)) .forEach((l) => { expect(fs.existsSync(path.join(__dirname, pluginTypeDir, `${l}.d.ts`))) .toBe(true) })})
dayjs

Version Info

Tagged at
a year ago