Skip to content

Commit

Permalink
test: ignore asset hashes
Browse files Browse the repository at this point in the history
  • Loading branch information
henrist committed Sep 27, 2020
1 parent 2b19327 commit 40870d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 106 deletions.
109 changes: 4 additions & 105 deletions src/__snapshots__/index.test.ts.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,7 @@ test("LambdaConfig", () => {
})

expect(fnWithConfig.version.functionArn).toMatch("${Token[TOKEN.135]}")
expect(stack).toMatchCdkSnapshot()
expect(stack).toMatchCdkSnapshot({
ignoreAssets: true,
})
})

0 comments on commit 40870d8

Please sign in to comment.