Milestone 0: import zappier billing, Verae middleware, and Zapier research
Compose-ready workspace: packages/zappier (rate card, portal, Stripe), packages/verae-zapier-middleware (timestamp + NATS), packages/verae-zapier (CLI app), vendor/zapier-platform, and research/zapier vendor corpus. Gate 0 structure checks pass. Product code and research are not yet wired.
This commit is contained in:
commit
b4150c8250
1364 changed files with 6814366 additions and 0 deletions
|
|
@ -0,0 +1,22 @@
|
|||
import { describe, expect, it } from 'vitest';
|
||||
import zapier from 'zapier-platform-core';
|
||||
|
||||
import App from '../index.js';
|
||||
|
||||
const appTester = zapier.createAppTester(App);
|
||||
|
||||
describe('app definition', () => {
|
||||
it('exports session auth and core operations', () => {
|
||||
expect(App.authentication?.type).toBe('session');
|
||||
expect(App.creates?.timestamp).toBeTruthy();
|
||||
expect(App.creates?.verify_certificate).toBeTruthy();
|
||||
expect(App.searches?.job_status).toBeTruthy();
|
||||
expect(App.triggers?.timestamp_completed).toBeTruthy();
|
||||
expect(App.creates?.timestamp_wait).toBeTruthy();
|
||||
});
|
||||
|
||||
it('session perform posts to /auth/login', async () => {
|
||||
const perform = App.authentication?.sessionConfig?.perform;
|
||||
expect(typeof perform).toBe('function');
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue