Skip to content

Commit

Permalink
fix(security-hotspot): cleanup (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanGerbeth authored Sep 16, 2024
1 parent 37157dc commit d96c3dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/observables/src/fetch/request.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { afterEach, test, describe, beforeEach, expect } from 'vitest';
describe('request observable with default operators', function () {
beforeEach(function () {
fetchMock.get(
'http://httpbin.org/my-url-fast',
'https://httpbin.org/my-url-fast',
new Response(JSON.stringify({ hello: 'fast world' }), {
status: 200,
headers: {
Expand All @@ -24,7 +24,7 @@ describe('request observable with default operators', function () {

test('successfull request', () =>
new Promise(done => {
requestObservable('http://httpbin.org/my-url-fast').subscribe(async e => {
requestObservable('https://httpbin.org/my-url-fast').subscribe(async e => {
expect(e.ok).equal(true);
expect(await e.json()).deep.equal({ hello: 'fast world' });
done();
Expand Down

0 comments on commit d96c3dc

Please sign in to comment.