Skip to content

Commit

Permalink
test(createAlgoliaInsightsPlugin): update version in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahdayan committed Mar 20, 2023
1 parent 13dab72 commit dd4972e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ describe('createAlgoliaInsightsPlugin', () => {
expect(document.body).toMatchInlineSnapshot(`
<body>
<script
src="https://cdn.jsdelivr.net/npm/search-insights@2.3.0/dist/search-insights.min.js"
src="https://cdn.jsdelivr.net/npm/search-insights@2.4.0/dist/search-insights.min.js"
/>
<form>
<input />
Expand All @@ -243,7 +243,7 @@ describe('createAlgoliaInsightsPlugin', () => {
`);
expect((window as any).AlgoliaAnalyticsObject).toBe('aa');
expect((window as any).aa).toEqual(expect.any(Function));
expect((window as any).aa.version).toBe('2.3.0');
expect((window as any).aa.version).toBe('2.4.0');
});

it('notifies when the script fails to be added', () => {
Expand Down

0 comments on commit dd4972e

Please sign in to comment.