Просмотр исходного кода

chore: Disable eslint checks on puter-js tests

These currently work in a way that's different from what eslint expects,
so disable it. At some point it would be good if it could check them
(and if the tests could run on CI) but right now they just make a lot of
noise.
Sam Atkins 1 год назад
Родитель
Сommit
11f3e29604
2 измененных файлов с 4 добавлено и 0 удалено
  1. 2 0
      packages/puter-js/test/fs.test.js
  2. 2 0
      packages/puter-js/test/kv.test.js

+ 2 - 0
packages/puter-js/test/fs.test.js

@@ -1,3 +1,5 @@
+/* eslint-disable */
+// TODO: Make these more compatible with eslint
 naughtyStrings = [
     "文件.txt",               // Chinese characters
     "файл.txt",              // Cyrillic characters

+ 2 - 0
packages/puter-js/test/kv.test.js

@@ -1,3 +1,5 @@
+/* eslint-disable */
+// TODO: Make these more compatible with eslint
 window.kvTests = [
     testSetKeyWithValue = async function() {
         try {