From 430118f0712ccc40265b8fa6b7d1f9312366ea46 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Thu, 23 Mar 2023 01:35:10 -0400 Subject: [PATCH] Write out path when generating item type/field data for tests It writes to the build folder, so it's easy to think it's not working. --- test/content/runtests.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/content/runtests.js b/test/content/runtests.js index a419d93d1b..f761373c9c 100644 --- a/test/content/runtests.js +++ b/test/content/runtests.js @@ -82,8 +82,9 @@ if (ZoteroUnit.makeTestData) { let str = stableStringify(newData); yield OS.File.writeAtomic(OS.Path.join(dataPath, params.name + '.js'), str); - dump("done."); + dump('\nWritten to ' + OS.Path.join(dataPath, params.name + '.js\n')); } + dump("\n"); })() .catch(function(e) { dump('\n'); dump(Zotero.Utilities.varDump(e)) }) .finally(function() { quit(false) });