Преглед изворни кода

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 = [
 naughtyStrings = [
     "文件.txt",               // Chinese characters
     "文件.txt",               // Chinese characters
     "файл.txt",              // Cyrillic 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 = [
 window.kvTests = [
     testSetKeyWithValue = async function() {
     testSetKeyWithValue = async function() {
         try {
         try {