diff options
author | silverwind <me@silverwind.io> | 2023-09-27 06:37:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-27 04:37:13 +0000 |
commit | ee27b94b2c84f6604cb0428d6c2a5611161aac14 (patch) | |
tree | 3ba1e48e66c9b236f2851708d5da230e7e2bb0b3 /web_src/js/utils.test.js | |
parent | 5ef5a0ade6a49c0e55697a0adc9bd33ef9c83a48 (diff) | |
download | gitea-ee27b94b2c84f6604cb0428d6c2a5611161aac14.tar.gz gitea-ee27b94b2c84f6604cb0428d6c2a5611161aac14.zip |
Use vitest globals (#27102)
Enable [globals](https://vitest.dev/config/#globals) in vitest, reducing
the noise in test files.
Diffstat (limited to 'web_src/js/utils.test.js')
-rw-r--r-- | web_src/js/utils.test.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/web_src/js/utils.test.js b/web_src/js/utils.test.js index db9b1a14a3..2754e41c43 100644 --- a/web_src/js/utils.test.js +++ b/web_src/js/utils.test.js @@ -1,4 +1,3 @@ -import {expect, test} from 'vitest'; import { basename, extname, isObject, stripTags, parseIssueHref, parseUrl, translateMonth, translateDay, blobToDataURI, |