Skip to content

Commit 2c745d4

Browse files
committed
Fix assertion
1 parent a80b888 commit 2c745d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/codes/clj/docs/frontend/test/infra/analytics_test.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
(let [ga-tag-id "G-0123456789"
99
ga-scripts (analytics/ga-scripts ga-tag-id)]
1010
(is (instance? js/HTMLScriptElement ga-scripts))
11-
(is (string/includes? (.-src ga-scripts) ga-tag-id))))
11+
(is (string/includes? (.-text ga-scripts) ga-tag-id))))
1212
(testing "blank GA_TAG_ID should not return anything"
1313
(is (nil? (analytics/ga-scripts "")))))

0 commit comments

Comments
 (0)