Lam Wei Li c226cb7569
test: update fakeFS.read as graceful-fs uses it
`fs-extra@10.0.0` broke it as it removed the check for `fs.realpath.native`.

```diff
+L064 exports.realpath.native = u(fs.realpath.native)

-L126
-L127 // fs.realpath.native only available in Node v9.2+
-L128 if (typeof fs.realpath.native === 'function') {
-L129   exports.realpath.native = u(fs.realpath.native)
-L130 }
```
_(https://github.com/jprichardson/node-fs-extra/pull/887/files)_

When `fs.realpath` is an empty function, fs.realpath.native is `undefined`.

25c17ad980/test/tap/configuration-test.js (L17)
2022-01-14 21:13:13 +08:00
..
2016-12-12 22:23:39 +08:00