Skip to content

Commit

Permalink
Fix up tests
Browse files Browse the repository at this point in the history
  • Loading branch information
corinagum committed Dec 10, 2020
1 parent 9756af0 commit bbbcab2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion __tests__/hooks/useAdaptiveCardsPackage.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ test('getter should return default Adaptive Cards package if not set in props',
const { pageObjects } = await setupWebDriver();

const [adaptiveCardsPackage] = await pageObjects.runHook('useAdaptiveCardsPackage', [], results =>
results[0].AdaptiveCard.currentVersion.toString()
new results[0].Version().major.toString()
);

expect(adaptiveCardsPackage).toMatchInlineSnapshot(`"1"`);
Expand Down

0 comments on commit bbbcab2

Please sign in to comment.