add basic test

This commit is contained in:
Kent Wang
2025-08-05 16:13:18 +08:00
parent 897798d3e9
commit 2ad5eca6e1
2 changed files with 29 additions and 1 deletions

View File

@@ -144,6 +144,34 @@ collection:
send: true
store: true
rebuildPath: true
- url: http://127.0.0.1:4010/echo
name: External Vault Tag
meta:
id: req_05ce27906a824071ad138cb6d99249d0
created: 1748335221312
modified: 1748336216272
isPrivate: false
sortKey: -1748335221312
method: GET
body:
mimeType: text/plain
text: |
{% vault 'aws', '', '{}' %}
{% vault 'gcp', '', '{}' %}
{% vault 'hashicorp', '', '{}' %}
headers:
- name: Content-Type
value: text/plain
- name: User-Agent
value: insomnia/11.1.0
settings:
renderRequestBody: true
encodeUrl: true
followRedirects: global
cookies:
send: true
store: true
rebuildPath: true
- url: http://127.0.0.1:4010/echo
name: Base Response
meta:

View File

@@ -3,7 +3,7 @@ import { randomUUID } from 'node:crypto';
import type { Application } from 'express';
import { json } from 'express';
import type { CurrentPlan } from '../../insomnia/src/ui/insomnia-api-types';
import type { CurrentPlan } from '../../insomnia/src/ui/organization-utils';
import type { Collaborator, CollaboratorType } from '../../insomnia/src/ui/routes/$organizationId.collaborators';
import { getRandomId, getTeamName, getUserEmail } from '../tests/smoke/test-utils';