update tests

This commit is contained in:
Philipp Kunz 2017-05-25 13:01:17 +02:00
parent faf538aa4d
commit b6f54bc967
2 changed files with 6 additions and 1 deletions

View File

@ -8,7 +8,7 @@
"npmci": "dist/cli.js" "npmci": "dist/cli.js"
}, },
"scripts": { "scripts": {
"test": "(npmts) && (npm run testVersion)", "test": "(rm -f config.json) && (npmts) && (npm run testVersion)",
"testVersion": "(cd test/assets/ && node ../../dist/cli.js -v)" "testVersion": "(cd test/assets/ && node ../../dist/cli.js -v)"
}, },
"repository": { "repository": {

View File

@ -15,6 +15,7 @@ import NpmciBuildDocker = require('../dist/mod_docker/index')
import NpmciPublish = require('../dist/mod_publish/index') import NpmciPublish = require('../dist/mod_publish/index')
import NpmciTest = require('../dist/mod_test/index') import NpmciTest = require('../dist/mod_test/index')
import NpmciSsh = require('../dist/npmci.ssh') import NpmciSsh = require('../dist/npmci.ssh')
import NpmciEnv = require('../dist/npmci.env')
let dockerfile1: NpmciBuildDocker.Dockerfile let dockerfile1: NpmciBuildDocker.Dockerfile
let dockerfile2: NpmciBuildDocker.Dockerfile let dockerfile2: NpmciBuildDocker.Dockerfile
@ -75,4 +76,8 @@ tap.test('reset paths', async () => {
} }
}) })
tap.test('', async () => {
await NpmciEnv.configStore()
})
tap.start() tap.start()