Support all possible Postman auth types

This commit is contained in:
Gregory Schier
2025-10-29 07:06:10 -07:00
parent 484b5b2fd8
commit a42cba567c
12 changed files with 1400 additions and 61 deletions

View File

@@ -17,7 +17,9 @@ describe('importer-postman', () => {
const expected = fs.readFileSync(path.join(p, fixture.replace('.input', '.output')), 'utf-8');
const result = convertPostman(contents);
// console.log(JSON.stringify(result, null, 2))
expect(result).toEqual(JSON.parse(expected));
expect(JSON.stringify(result, null, 2)).toEqual(
JSON.stringify(JSON.parse(expected), null, 2),
);
});
}
});