This commit is contained in:
Philipp Kunz 2018-02-14 00:28:56 +01:00
parent 4c2e7f9446
commit aeec1b36a3
2 changed files with 10 additions and 1 deletions

View File

@ -1,4 +1,7 @@
{
"npmts": {
"coverageTreshold": 60
},
"npmci": {
"npmGlobalTools": [
"npmts"

View File

@ -12,8 +12,8 @@ tap.test('should print a overview to console', async () => {
})
tap.test('should get os', async () => {
let resultMac = await testEnv.isMacAsync()
let resultLinux = await testEnv.isLinuxAsync()
let resultMac = await testEnv.isMacAsync
let resultWindows = await testEnv.isWindowsAsync()
const osModule = await import('os')
if (resultMac) {
@ -29,4 +29,10 @@ tap.test('should get os', async () => {
})
tap.test('should state wether we are in CI', async () => {
if(process.env.CI) {
expect(testEnv.isCI).to.be.true()
}
})
tap.start()