Skip to content

Commit e52f607

Browse files
committed
build: fix relative paths to test-requests types
1 parent 4de8aa4 commit e52f607

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

test/test-requests/invalid-requests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* NOTE: To enable tests for a specific OpenAPI file, add the file name
33
* as a key of the object and add at least one TestRequestConfig to the array.
44
*/
5-
import {TestRequests} from 'test-requests';
5+
import {TestRequests} from '../../types/test-requests';
66

77
export const INVALID_TEST_REQUESTS: { [dir: string]: TestRequests } = {
88
v3: {

test/test-requests/valid-requests.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* NOTE: To enable tests for a specific OpenAPI file, add the file name
33
* as a key of the object and add at least one `TestRequestConfig` to the array.
44
*/
5-
import {TestRequests} from 'test-requests';
5+
import {TestRequests} from '../../types/test-requests';
66

77
export const VALID_TEST_REQUESTS: { [dir: string]: TestRequests } = {
88
v3: {

test/test-responses/invalid-responses.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import * as express from 'express';
22
import {Request, Response} from 'express';
33

44
import {TARGET_SERVER_PORT} from '../config';
5-
import {TestResponses} from 'test-requests';
5+
import {TestResponses} from '../../types/test-requests';
66

77
/**
88
* Utility function to create a server that responds to only one given path/method.

test/util/testing.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import {TestRequestConfig, TestRequests, TestResponses} from 'test-requests';
1+
import {TestRequestConfig, TestRequests, TestResponses} from '../../types/test-requests';
22
import * as assert from 'assert';
33
import {AxiosInstance, AxiosRequestConfig, AxiosResponse} from 'axios';
44
import * as path from 'path';

0 commit comments

Comments
 (0)