refactor: make loader.shouldLoadRelative public

This commit is contained in:
Harttle
2021-10-16 12:30:09 +08:00
committed by harttle
parent 9cfa43b8ae
commit d4df3a0b53
4 changed files with 8 additions and 11 deletions
+1 -1
View File
@@ -55,6 +55,6 @@ describe('#renderFile()', function () {
extname: '.html'
})
return expect(engine.renderFile('/not/exist.html')).to
.be.rejectedWith(/Failed to lookup "\/not\/exist.html" in "\/boo\/,\/root\/"/)
.be.rejectedWith(/Failed to lookup "\/not\/exist.html" in "\/boo,\/root\/"/)
})
})