Skip to content

Commit 5573d73

Browse files
committed
test: add process.versions.ata verification test
1 parent 57b9bce commit 5573d73

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

test/parallel/test-ata-version.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
'use strict';
2+
3+
require('../common');
4+
const assert = require('assert');
5+
6+
// Verify that ata-validator is available in process.versions
7+
assert.ok(process.versions.ata, 'process.versions.ata should be defined');
8+
assert.match(process.versions.ata, /^\d+\.\d+\.\d+$/,
9+
'process.versions.ata should be a semver string');

0 commit comments

Comments
 (0)