Skip to content

Commit

Permalink
fix: review lint
Browse files Browse the repository at this point in the history
  • Loading branch information
niko-achilles committed Jul 21, 2021
1 parent e1d3374 commit 9217290
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
* limitations under the License.
*/

import * as sinon from "sinon";
import { sendWithXhr } from "../../src/platform/browser/util";
import { ensureHeadersContain } from "../helper";
import * as sinon from 'sinon';
import { sendWithXhr } from '../../src/platform/browser/util';
import { ensureHeadersContain } from '../helper';

describe('util - browser', () => {
let server: any;
const body = "";
const url = "";
const body = '';
const url = '';

let onSuccessStub: sinon.SinonStub;
let onErrorStub: sinon.SinonStub;
Expand Down Expand Up @@ -96,7 +96,7 @@ describe('util - browser', () => {
describe('and custom headers are set', () => {
let customHeaders: Record<string,string>;
beforeEach(()=>{
customHeaders = { aHeader: "aValue", bHeader: "bValue" };
customHeaders = { aHeader: 'aValue', bHeader: 'bValue' };
sendWithXhr(body, url, customHeaders, onSuccessStub, onErrorStub);
});
it('Request Headers should contain "Content-Type" header', done => {
Expand Down

0 comments on commit 9217290

Please sign in to comment.