mirror of https://gitee.com/bigwinds/arangodb
de gray - test-shell-foxx-paths (#10555)
* re-enable test * install only once
This commit is contained in:
parent
3c420182ef
commit
56d4610dca
|
@ -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`);
|
Loading…
Reference in New Issue