diff --git a/package.json b/package.json index f284890..f46c142 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "npmci": "dist/cli.js" }, "scripts": { - "test": "(npmts) && (npm run testVersion)", + "test": "(rm -f config.json) && (npmts) && (npm run testVersion)", "testVersion": "(cd test/assets/ && node ../../dist/cli.js -v)" }, "repository": { diff --git a/test/test.ts b/test/test.ts index 43a8a6c..20e40a7 100644 --- a/test/test.ts +++ b/test/test.ts @@ -15,6 +15,7 @@ import NpmciBuildDocker = require('../dist/mod_docker/index') import NpmciPublish = require('../dist/mod_publish/index') import NpmciTest = require('../dist/mod_test/index') import NpmciSsh = require('../dist/npmci.ssh') +import NpmciEnv = require('../dist/npmci.env') let dockerfile1: NpmciBuildDocker.Dockerfile let dockerfile2: NpmciBuildDocker.Dockerfile @@ -75,4 +76,8 @@ tap.test('reset paths', async () => { } }) +tap.test('', async () => { + await NpmciEnv.configStore() +}) + tap.start()