We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a80b888 commit 2c745d4Copy full SHA for 2c745d4
test/codes/clj/docs/frontend/test/infra/analytics_test.cljs
@@ -8,6 +8,6 @@
8
(let [ga-tag-id "G-0123456789"
9
ga-scripts (analytics/ga-scripts ga-tag-id)]
10
(is (instance? js/HTMLScriptElement ga-scripts))
11
- (is (string/includes? (.-src ga-scripts) ga-tag-id))))
+ (is (string/includes? (.-text ga-scripts) ga-tag-id))))
12
(testing "blank GA_TAG_ID should not return anything"
13
(is (nil? (analytics/ga-scripts "")))))
0 commit comments