1
0
Fork 0

de gray - test-shell-foxx-paths (#10555)

* re-enable test

* install only once
This commit is contained in:
Jan Christoph Uhde 2019-12-02 22:33:39 +01:00 committed by KVS85
parent 3c420182ef
commit 56d4610dca
1 changed files with 4 additions and 5 deletions

View File

@ -18,17 +18,16 @@ describe('Foxx service path handling', () => {
expect(encodeURIComponent('+')).not.to.equal('+');
expect(encodeURIComponent('/')).not.to.equal('/');
expect(encodeURIComponent(encodeURIComponent('/'))).not.to.equal(encodeURIComponent('/'));
});
beforeEach(function () {
try {
fm.uninstall(mount, {force: true});
} catch (e) {}
fm.install(fs.join(basePath, 'paths'), mount);
internal.sleep(1);
});
afterEach(function () {
fm.uninstall(mount, {force: true});
});
beforeEach(function () { });
afterEach(function () { });
it('supports plain URLs', () => {
const res = request.get(`${baseUrl}/${mount}/hello/world`);