Keep-going: tree shares, health flags, CI, compose, timestamp Zapier action
Directory-tree encrypted share mock; /health reports mockVerae/nats; middleware OpenAPI extended; zappier receipt by jobId; activate Create Timestamp (local mock or hosted); GitHub Actions test:offline; compose builds zappier image; seed-demo.mjs. No Zapier login or live Verae required.
This commit is contained in:
parent
645a24909a
commit
5925e76c72
39 changed files with 514 additions and 33 deletions
|
|
@ -15,6 +15,7 @@ describe('verae-activate app', () => {
|
|||
assert.ok(App.creates.add_numbers);
|
||||
assert.ok(App.creates.echo);
|
||||
assert.ok(App.creates.sha256_hash);
|
||||
assert.ok(App.creates.create_timestamp);
|
||||
assert.equal(addNumbers.key, 'add_numbers');
|
||||
assert.ok(addNumbers.operation.inputFields.some((f) => f.key === 'number1'));
|
||||
assert.ok(addNumbers.operation.inputFields.some((f) => f.key === 'number2'));
|
||||
|
|
@ -65,6 +66,16 @@ describe('verae-activate app', () => {
|
|||
assert.equal(result.sum, 5);
|
||||
});
|
||||
|
||||
it('create timestamp local mock without API', async () => {
|
||||
const ts = require('../creates/timestamp');
|
||||
const out = await ts.operation.perform(
|
||||
{ request: async () => { throw new Error('no http'); } },
|
||||
{ inputData: { data: 'x' }, authData: {} },
|
||||
);
|
||||
assert.equal(out.mode, 'local-mock');
|
||||
assert.ok(out.jobId);
|
||||
});
|
||||
|
||||
it('sha256 hashes hello', async () => {
|
||||
const sha = require('../creates/sha256');
|
||||
const out = await sha.operation.perform({}, { inputData: { text: 'hello' }, authData: {} });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue