summaryrefslogtreecommitdiff
path: root/test/parallel/test-fs-constants.js
blob: 49bcabd80873b4cd1bc2337599f73260027a8ac8 (plain)
1
2
3
4
5
6
7
8
'use strict';
require('../common');
const fs = require('fs');
const assert = require('assert');

// Check if the two constants accepted by chmod() on Windows are defined.
assert.notStrictEqual(fs.constants.S_IRUSR, undefined);
assert.notStrictEqual(fs.constants.S_IWUSR, undefined);