// Copyright (c) Cratis. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. import sinon from 'sinon'; import { SomeCommand } from '../SomeCommand'; export class a_command { command: SomeCommand; fetchStub: sinon.SinonStub; constructor() { this.command = new SomeCommand(); this.command.route = '/test-route'; this.command.setOrigin('http://localhost'); this.command.setApiBasePath('/api'); this.fetchStub = sinon.stub(globalThis, 'fetch'); } }