瀏覽代碼

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 年之前
父節點
當前提交
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 {