mirror of
https://github.com/asadbek064/hyparquet.git
synced 2025-12-23 22:06:37 +00:00
18 lines
547 B
TypeScript
18 lines
547 B
TypeScript
import { describe, expect, it } from 'vitest'
|
|
import packageJson from '../package.json'
|
|
|
|
describe('package.json', () => {
|
|
it('should have the correct name', () => {
|
|
expect(packageJson.name).toBe('hyparquet')
|
|
})
|
|
it('should have a valid version', () => {
|
|
expect(packageJson.version).toMatch(/^\d+\.\d+\.\d+$/)
|
|
})
|
|
it('should have precise dependency versions', () => {
|
|
const { devDependencies } = packageJson
|
|
Object.values(devDependencies).forEach(version => {
|
|
expect(version).toMatch(/^\d+\.\d+\.\d+$/)
|
|
})
|
|
})
|
|
})
|