diff --git a/src/index.ts b/src/index.ts index 49ffb0c..5b23fca 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ import childProcess from 'child_process' import yaml from 'yaml' -import mapPorts from './port-mapper' +import mapPorts from './map-ports' export interface IDockerComposeOptions { cwd?: string diff --git a/src/port-mapper.ts b/src/map-ports.ts similarity index 100% rename from src/port-mapper.ts rename to src/map-ports.ts diff --git a/test/port-mapper.test.ts b/test/map-ports.test.ts similarity index 97% rename from test/port-mapper.test.ts rename to test/map-ports.test.ts index 0c7e354..86b3363 100644 --- a/test/port-mapper.test.ts +++ b/test/map-ports.test.ts @@ -1,4 +1,4 @@ -import mapPorts from '../src/port-mapper' +import mapPorts from '../src/map-ports' test('map ports for empty string', () => { expect(mapPorts('')).toEqual([])