mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-25 17:33:28 +01:00
26 lines
952 B
JavaScript
26 lines
952 B
JavaScript
// damn jest throws an error when no tests are found in a file
|
|
// --passWithNoTests doesn't work
|
|
|
|
describe('dummy test', () => {
|
|
it('should pass', () => {
|
|
expect(true).toBe(true);
|
|
});
|
|
});
|
|
|
|
// todo: fix this failing test
|
|
// const { configureRequest } = require('../../src/ipc/network/index');
|
|
|
|
// describe('index: configureRequest', () => {
|
|
// it("Should add 'http://' to the URL if no protocol is specified", async () => {
|
|
// const request = { method: 'GET', url: 'test-domain', body: {} };
|
|
// await configureRequest(null, request, null, null, null, null);
|
|
// expect(request.url).toEqual('http://test-domain');
|
|
// });
|
|
|
|
// it("Should NOT add 'http://' to the URL if a protocol is specified", async () => {
|
|
// const request = { method: 'GET', url: 'ftp://test-domain', body: {} };
|
|
// await configureRequest(null, request, null, null, null, null);
|
|
// expect(request.url).toEqual('ftp://test-domain');
|
|
// });
|
|
// });
|