Skip to content

Commit

Permalink
closes agent so tests exit normally
Browse files Browse the repository at this point in the history
  • Loading branch information
DougReeder committed Jun 27, 2024
1 parent 7f7bfe8 commit 6e2d783
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 16 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ bin/test-suite-storage/rs/rs-test/storage
test-log
dev-log
dev-storage
dev-admin
.vscode
.idea

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ See `DEVELOPMENT.md`
(The MIT License)

Copyright © 2012–2015 James Coglan
Copyright © 2018–2022 remoteStorage contributors
Copyright © 2018–2024 remoteStorage contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the 'Software'), to deal in
Expand Down
14 changes: 0 additions & 14 deletions lib/assets/armadietto-utilities.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,17 +32,3 @@ if (togglePassword) {
this.classList.toggle('icon-slash');
});
}

// const submitBtn = document.querySelector('button[type=submit]');
// if (submitBtn) {
// submitBtn.addEventListener('click', function () {
// const validForm = document.querySelector('form:valid');
// if (validForm) {
// const spinner = document.createElement('progress');
// validForm.appendChild(spinner);
// setTimeout(() => {
// submitBtn.disabled = true;
// }, 0);
// }
// });
// }
1 change: 1 addition & 0 deletions spec/modular/admin.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@ describe('admin module', function () {

const usernameContact = await this.storeRouter.readAdminBlob(path.join(CONTACT_URL_DIR, encodeURIComponent(contactURL1) + '.yaml'));
expect(usernameContact).to.equal(username1);
await agent.close();
});

it('rejects expired token', async function () {
Expand Down

0 comments on commit 6e2d783

Please sign in to comment.