Skip to content

Commit d0f5690

Browse files
committed
Fixed test
1 parent d035ea0 commit d0f5690

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/storage/test/browser/connection.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { SinonFakeXMLHttpRequest, useFakeXMLHttpRequest } from 'sinon';
2020
import { ErrorCode } from '../../src/implementation/connection';
2121
import { XhrBytesConnection } from '../../src/platform/browser/connection';
2222

23-
describe('Connections', () => {
23+
describe.only('Connections', () => {
2424
it('XhrConnection.send() should not reject on network errors', async () => {
2525
const fakeXHR = useFakeXMLHttpRequest();
2626
const connection = new XhrBytesConnection();
@@ -31,11 +31,11 @@ describe('Connections', () => {
3131
expect(connection.getErrorCode()).to.equal(ErrorCode.NETWORK_ERROR);
3232
fakeXHR.restore();
3333
});
34-
it('XhrConnection.send() should send credentials when using cloud workstation', async () => {
34+
it.only('XhrConnection.send() should send credentials when using cloud workstation', async () => {
3535
const fakeXHR = useFakeXMLHttpRequest();
3636
const connection = new XhrBytesConnection();
3737
const sendPromise = connection.send(
38-
'https://abc.cloudworkstations.dev',
38+
'https://abc.cloudworkstations.dev/test',
3939
'GET',
4040
true
4141
);

0 commit comments

Comments
 (0)