fix test lint

This commit is contained in:
Matteo Pagliazzi
2019-10-08 20:45:38 +02:00
parent e37f4467f8
commit 85fb5f33aa
367 changed files with 6635 additions and 6080 deletions

View File

@@ -4,8 +4,9 @@ import {
import amzLib from '../../../../../../website/server/libs/payments/amazon';
describe('payments - amazon - #checkout', () => {
let endpoint = '/amazon/checkout';
let user, amazonCheckoutStub;
const endpoint = '/amazon/checkout';
let user; let
amazonCheckoutStub;
beforeEach(async () => {
user = await generateUser();
@@ -37,7 +38,7 @@ describe('payments - amazon - #checkout', () => {
balance: 2,
});
let gift = {
const gift = {
type: 'gems',
gems: {
amount: 16,
@@ -45,7 +46,7 @@ describe('payments - amazon - #checkout', () => {
},
};
let orderReferenceId = 'orderReferenceId-example';
const orderReferenceId = 'orderReferenceId-example';
await user.post(endpoint, {
gift,