strip leading slash from basepath - fixes #495

This commit is contained in:
Rich Harris
2018-10-27 11:41:02 -04:00
parent ab52aabd1d
commit f50f83c4a4
2 changed files with 3 additions and 1 deletions

View File

@@ -17,7 +17,7 @@ describe('with-basepath', function() {
await api.export({
cwd: __dirname,
basepath: 'custom-basepath'
basepath: '/custom-basepath'
});
runner = new AppRunner(__dirname, '__sapper__/build/server/server.js');