Skip to content
This repository has been archived by the owner on Feb 6, 2024. It is now read-only.

Commit

Permalink
fix: apply http client factory to reports tests
Browse files Browse the repository at this point in the history
  • Loading branch information
justinemmanuelmercado committed Jun 15, 2020
1 parent 169d548 commit 58b3c87
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions test/integration/reports.test.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,8 @@
import { amazonMarketplaces } from '@scaleleap/amazon-marketplaces'

import { HttpClient, Reports, ScheduleType } from '../../src'
import { Reports, ScheduleType } from '../../src'
import { Config } from './config'
import { itci } from './it'

const config = new Config()

const httpClient = new HttpClient({
marketplace: amazonMarketplaces.CA,
awsAccessKeyId: config.AWS_ACCESS_KEY_ID,
mwsAuthToken: config.MWS_AUTH_TOKEN,
secretKey: config.SECRET_KEY,
sellerId: config.SELLER_ID,
})
const httpClient = new Config().createHttpClient()

/* eslint-disable jest/no-standalone-expect */
describe('reports', () => {
Expand Down

0 comments on commit 58b3c87

Please sign in to comment.