(filename)
| 1 | const { TextFileSync } = require('./TextFileSync.js'); |
| 2 | class JSONFileSync { |
| 3 | constructor(filename) { |
| 4 | this.adapter = new TextFileSync(filename); |
| 5 | } |
| 6 | read() { |
| 7 | const data = this.adapter.read(); |
| 8 | if (data === null) { |
nothing calls this directly
no outgoing calls
no test coverage detected