Lines Matching defs:const
23 const common = require('../common');
24 const assert = require('assert');
25 const util = require('util');
26 const fs = require('fs');
27 const url = require('url');
29 const tmpdir = require('../common/tmpdir');
32 const lpath = `${tmpdir.path}/symlink`;
39 const stats = fs.fstatSync(resource);
50 const stats = stat_resource(resource, statSync);
51 const real_mtime = fs._toUnixTimestamp(stats.mtime);
63 const mtime_diff = check_mtime(resource, mtime, statSync);
73 const stats = fs.statSync(tmpdir.path);
75 const asPath = (path) => path;
76 const asUrl = (path) => url.pathToFileURL(path);
78 const cases = [
91 const { value, done } = iter.next();
95 const [pathType, atime, mtime = atime] = value;
159 const expectTypeError = {
195 const expectRangeError = {