Skip to content
This repository was archived by the owner on Dec 11, 2022. It is now read-only.

Commit 5e77049

Browse files
committed
Fixed tests
1 parent db97db9 commit 5e77049

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

dist/module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59033,7 +59033,7 @@ function () {
5903359033
if (alias) {
5903459034
return q.replace(/\$__timeGroupAlias\(([\w_.]+,+[a-zA-Z0-9_ ]+.*\))/g, intervalStr);
5903559035
} else {
59036-
return q.replace(/\$__timeGroup\(([\w_.]+,+[a-zA-Z0-9_ ]+.*\))/g, intervalStr + ")");
59036+
return q.replace(/\$__timeGroup\(([\w_.]+,+[a-zA-Z0-9_ ]+.*\))/g, intervalStr);
5903759037
}
5903859038
};
5903959039

dist/module.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/specs/bigquery_query.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ describe("BigQueryQuery", () => {
305305
target.rawSql =
306306
"$__timeGroup(start_date,1w)";
307307
expect(query.expend_macros(options)).toBe(
308-
"TIMESTAMP_SECONDS(DIV(UNIX_SECONDS(`t`), 604800) * 604800))"
308+
"TIMESTAMP_SECONDS(DIV(UNIX_SECONDS(`t`), 604800) * 604800)"
309309
);
310310
target.rawSql =
311311
"$__timeGroupAlias(start_date,1h)";

0 commit comments

Comments
 (0)