Skip to content

Commit

Permalink
test(helpers): re-organize tests to reflect code structure
Browse files Browse the repository at this point in the history
Refs #2717
  • Loading branch information
char0n committed Jan 23, 2023
1 parent 30031f7 commit da9c12f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from 'node:fs';
import path from 'node:path';
import { isParseResultElement } from '@swagger-api/apidom-core';
import { File, ParserError } from '@swagger-api/apidom-reference';
import { File, ParserError } from '@swagger-api/apidom-reference/configuration/empty';
import { mediaTypes } from '@swagger-api/apidom-ns-openapi-3-1';

// eslint-disable-next-line camelcase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import fs from 'node:fs';
import path from 'node:path';
import { isParseResultElement } from '@swagger-api/apidom-core';
import { File, ParserError } from '@swagger-api/apidom-reference';
import { File, ParserError } from '@swagger-api/apidom-reference/configuration/empty';
import { mediaTypes } from '@swagger-api/apidom-ns-openapi-3-1';

// eslint-disable-next-line camelcase
Expand Down
2 changes: 1 addition & 1 deletion test/helpers.js → test/helpers/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { normalizeSwagger, getOperationRaw, idFromPathMethod } from '../src/helpers/index.js';
import { normalizeSwagger, getOperationRaw, idFromPathMethod } from '../../src/helpers/index.js';

describe('helpers', () => {
describe('idFromPathMethod', () => {
Expand Down

0 comments on commit da9c12f

Please sign in to comment.