fix: use updated path

This commit is contained in:
jamesgeorge007 2020-02-17 14:02:05 +05:30
parent 70cf4b0247
commit 309dd89e2a
1 changed files with 3 additions and 3 deletions

View File

@ -87,9 +87,9 @@ describe("WatchDetection", () => {
function step1() {
onChange = () => {
if (
memfs.readFileSync("/bundle.js") &&
memfs.readFileSync("/directory/bundle.js") &&
memfs
.readFileSync("/bundle.js")
.readFileSync("/directory/bundle.js")
.toString()
.indexOf("original") >= 0
)
@ -129,7 +129,7 @@ describe("WatchDetection", () => {
onChange = () => {
if (
memfs
.readFileSync("/bundle.js")
.readFileSync("/directory/bundle.js")
.toString()
.indexOf("correct") >= 0
)