remove old dirt

This commit is contained in:
counterweight 2025-02-26 13:57:24 +01:00
parent 926dc3f3dd
commit f00a3aa103
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
3 changed files with 61 additions and 8 deletions

18
tests/createOffer.spec.js Normal file
View file

@ -0,0 +1,18 @@
const { test, expect } = require('./test-setup');
const SessionRelatedToPublickey = require('../src/models/SessionRelatedToPublickey');
const NymSet = require('../src/models/NymSet');
const ContactDetailsSet = require('../src/models/ContactDetailsSet');
test('Mock ecords are present', async ({ page }) => {
for (const someModel of [
SessionRelatedToPublickey,
NymSet,
ContactDetailsSet,
]) {
expect(await someModel.findOne()).toBeTruthy();
}
});
// Check that UI controls are manageable with a few test cases.
// Check that the offer is created after submitting