From 11f3e29604a6e7801a9a64cd4491a4e9ca48f66b Mon Sep 17 00:00:00 2001 From: Sam Atkins Date: Thu, 25 Apr 2024 16:45:49 +0100 Subject: [PATCH] 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. --- packages/puter-js/test/fs.test.js | 2 ++ packages/puter-js/test/kv.test.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/packages/puter-js/test/fs.test.js b/packages/puter-js/test/fs.test.js index ba5887dcb..c194ef381 100644 --- a/packages/puter-js/test/fs.test.js +++ b/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 diff --git a/packages/puter-js/test/kv.test.js b/packages/puter-js/test/kv.test.js index 5dad4b4a4..16de6ab37 100644 --- a/packages/puter-js/test/kv.test.js +++ b/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 {