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

Commit

Permalink
test: add integration test, check for actual structure
Browse files Browse the repository at this point in the history
  • Loading branch information
justinemmanuelmercado committed Jul 8, 2020
1 parent c33b71c commit 1236a89
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion test/integration/recommendations.test.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
import { Recommendations } from '../../src'
import { amazonMarketplaces, Recommendations } from '../../src'
import { Config } from './config'
import { itci } from './it'

const httpClient = new Config().createHttpClient()

/* eslint-disable jest/no-standalone-expect */
describe(`${Recommendations.name}`, () => {
itci('should be able to query last updated time for recommendations', async () => {
expect.assertions(1)

const recommendations = new Recommendations(httpClient)

const [response] = await recommendations.getLastUpdatedTimeForRecommendations({
MarketplaceId: amazonMarketplaces.US.id,
})

expect(response).toBeDefined()
})
itci('should be able to query service status', async () => {
expect.assertions(1)

Expand Down

0 comments on commit 1236a89

Please sign in to comment.