Skip to content

Commit

Permalink
feat: enable running tests in circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jun 20, 2019
1 parent 9ebde2e commit 662638d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
22 changes: 11 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,17 +108,17 @@ workflows:
- Check for vulnerabilities:
requires:
- Checkout Code
# - Test node-8:
# requires:
# - Checkout Code
# - Send Coverage:
# requires:
# - Check for vulnerabilities
# - Test node-8
# filters:
# branches:
# only:
# - master
- Test node-8:
requires:
- Checkout Code
- Send Coverage:
requires:
- Check for vulnerabilities
- Test node-8
filters:
branches:
only:
- master
- Git Release:
requires:
# - Send Coverage
Expand Down
3 changes: 1 addition & 2 deletions src/commands/__tests__/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -320,8 +320,7 @@ const commandConverters: CommandTestConverterSet = {
'frameIndex': 'index'
},
propertyAliases: {
'filename': (val: any) => ({ val, name: 'fileName' }),
// 'hash': (v: string) => ({ val: Buffer.from(v, 'base64').toString('ascii') })
'filename': (val: any) => ({ val, name: 'fileName' })
}
},
'MPrp': {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/__tests__/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ export function runTestForCommand (commandParser: CommandParser, commandConverte
// TODO - should they be ignored in here, or filtered in the generator project?
expect(allowUnknown).toBeTruthy()
}
}
}

0 comments on commit 662638d

Please sign in to comment.