Travis debugging
This commit is contained in:
parent
fa859b45fe
commit
30d0858ebf
3 changed files with 5 additions and 1 deletions
|
@ -40,6 +40,7 @@ Zotero.Sync.Storage.Local = {
|
||||||
case 'user':
|
case 'user':
|
||||||
case 'publications':
|
case 'publications':
|
||||||
case 'feed':
|
case 'feed':
|
||||||
|
Zotero.debug("Storage Mode: " + Zotero.Prefs.get("sync.storage.protocol"));
|
||||||
return Zotero.Prefs.get("sync.storage.protocol") == 'webdav' ? 'webdav' : 'zfs';
|
return Zotero.Prefs.get("sync.storage.protocol") == 'webdav' ? 'webdav' : 'zfs';
|
||||||
|
|
||||||
case 'group':
|
case 'group':
|
||||||
|
|
|
@ -143,7 +143,7 @@ fi
|
||||||
trap "{ rm -rf \"$TEMPDIR\"; }" EXIT
|
trap "{ rm -rf \"$TEMPDIR\"; }" EXIT
|
||||||
|
|
||||||
makePath FX_PROFILE "$PROFILE"
|
makePath FX_PROFILE "$PROFILE"
|
||||||
MOZ_NO_REMOTE=1 NO_EM_RESTART=1 "$FX_EXECUTABLE" -profile "$FX_PROFILE" \
|
MOZ_NO_REMOTE=1 NO_EM_RESTART=1 "$FX_EXECUTABLE" -profile "$FX_PROFILE" -bail \
|
||||||
-chrome chrome://zotero-unit/content/runtests.html -test "$TESTS" -grep "$GREP" -ZoteroTest $FX_ARGS
|
-chrome chrome://zotero-unit/content/runtests.html -test "$TESTS" -grep "$GREP" -ZoteroTest $FX_ARGS
|
||||||
|
|
||||||
# Check for success
|
# Check for success
|
||||||
|
|
|
@ -114,6 +114,9 @@ describe("Zotero.Sync.Runner", function () {
|
||||||
// Tests
|
// Tests
|
||||||
//
|
//
|
||||||
beforeEach(function* () {
|
beforeEach(function* () {
|
||||||
|
// TEMP: Travis debugging
|
||||||
|
Zotero.Debug.init(true);
|
||||||
|
|
||||||
yield resetDB({
|
yield resetDB({
|
||||||
thisArg: this,
|
thisArg: this,
|
||||||
skipBundledFiles: true
|
skipBundledFiles: true
|
||||||
|
|
Loading…
Add table
Reference in a new issue