remove old dirt
This commit is contained in:
parent
926dc3f3dd
commit
f00a3aa103
3 changed files with 61 additions and 8 deletions
18
tests/createOffer.spec.js
Normal file
18
tests/createOffer.spec.js
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue