Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/text.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinicius Reis <vinicius.reis@nextcloud.com>2022-07-07 02:18:00 +0300
committerVinicius Reis <vinicius.reis@nextcloud.com>2022-07-22 14:57:07 +0300
commit505b2432bfb0ab8a83ca78c702f72ee9bdb3e3fe (patch)
treeac980dbdf25e8e12bb1cb69bd6929a03717e1acc /jest-raw-loader.js
parent84fe2e5e479232d1e8a2ddac5d26f7e663eaf12e (diff)
⬆️ Upgrade dependencies
- removes jest-raw-loader - add vue-demi Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
Diffstat (limited to 'jest-raw-loader.js')
-rw-r--r--jest-raw-loader.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/jest-raw-loader.js b/jest-raw-loader.js
new file mode 100644
index 000000000..16af98c7e
--- /dev/null
+++ b/jest-raw-loader.js
@@ -0,0 +1,9 @@
+// jest-raw-loader compatibility with Jest version 28.
+// See: https://github.com/keplersj/jest-raw-loader/pull/239
+module.exports = {
+ process: (content) => {
+ return {
+ code: 'module.exports = ' + JSON.stringify(content),
+ }
+ },
+}