From 6a7750d354923d89d233fa4c622810b99017930f Mon Sep 17 00:00:00 2001 From: Pragadesh-45 Date: Tue, 22 Apr 2025 15:19:04 +0545 Subject: [PATCH] refactor: rename test files and update import paths for postman-to-bruno tests --- .../postman/{ => postman-to-bruno}/postman-to-bruno.spec.js | 2 +- .../postman-translations/postman-request.spec.js | 2 +- .../postman-translations/postman-response.spec.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename packages/bruno-converters/tests/postman/{ => postman-to-bruno}/postman-to-bruno.spec.js (99%) rename packages/bruno-converters/tests/postman/{ => postman-to-bruno}/postman-translations/postman-request.spec.js (89%) rename packages/bruno-converters/tests/postman/{ => postman-to-bruno}/postman-translations/postman-response.spec.js (91%) diff --git a/packages/bruno-converters/tests/postman/postman-to-bruno.spec.js b/packages/bruno-converters/tests/postman/postman-to-bruno/postman-to-bruno.spec.js similarity index 99% rename from packages/bruno-converters/tests/postman/postman-to-bruno.spec.js rename to packages/bruno-converters/tests/postman/postman-to-bruno/postman-to-bruno.spec.js index 2ad195eda..643a2bcf8 100644 --- a/packages/bruno-converters/tests/postman/postman-to-bruno.spec.js +++ b/packages/bruno-converters/tests/postman/postman-to-bruno/postman-to-bruno.spec.js @@ -1,5 +1,5 @@ import { describe, it, expect } from '@jest/globals'; -import postmanToBruno from '../../src/postman/postman-to-bruno'; +import postmanToBruno from '../../../src/postman/postman-to-bruno'; describe('postman-collection', () => { it('should correctly import a valid Postman collection file', async () => { diff --git a/packages/bruno-converters/tests/postman/postman-translations/postman-request.spec.js b/packages/bruno-converters/tests/postman/postman-to-bruno/postman-translations/postman-request.spec.js similarity index 89% rename from packages/bruno-converters/tests/postman/postman-translations/postman-request.spec.js rename to packages/bruno-converters/tests/postman/postman-to-bruno/postman-translations/postman-request.spec.js index 5b1305f73..3ee071640 100644 --- a/packages/bruno-converters/tests/postman/postman-translations/postman-request.spec.js +++ b/packages/bruno-converters/tests/postman/postman-to-bruno/postman-translations/postman-request.spec.js @@ -1,4 +1,4 @@ -const { default: postmanTranslation } = require("../../../src/postman/postman-translations"); +const { default: postmanTranslation } = require("../../../../src/postman/postman-translations"); describe('postmanTranslations - request commands', () => { test('should handle request commands', () => { diff --git a/packages/bruno-converters/tests/postman/postman-translations/postman-response.spec.js b/packages/bruno-converters/tests/postman/postman-to-bruno/postman-translations/postman-response.spec.js similarity index 91% rename from packages/bruno-converters/tests/postman/postman-translations/postman-response.spec.js rename to packages/bruno-converters/tests/postman/postman-to-bruno/postman-translations/postman-response.spec.js index 6e54af13b..4f365589c 100644 --- a/packages/bruno-converters/tests/postman/postman-translations/postman-response.spec.js +++ b/packages/bruno-converters/tests/postman/postman-to-bruno/postman-translations/postman-response.spec.js @@ -1,4 +1,4 @@ -const { default: postmanTranslation } = require("../../../src/postman/postman-translations"); +const { default: postmanTranslation } = require("../../../../src/postman/postman-translations"); describe('postmanTranslations - response commands', () => { test('should handle response commands', () => {