<#219 Match pact js lint> Pull request opened by <...
# pact-js-development
g
#219 Match pact js lint Pull request opened by TimothyJones This is like pact-foundation/pact-js-core#425 and pact-foundation/pact-js#1027 - it simply tightens the lint settings to match pact-js and pact-js core. Key points: • This is a Jest project, so it uses jest settings rather than mocha. • If you use this as a base for other jest projects, make sure you enable
jest/expect-expect
- it is only disabled because we have tests that always throw to test "this shouldn't run" • Also I tightened the tsconfig settings to match pact-js-core • Some code is now duplicated because you can't import from tests (this results in the tests being run twice). An improvement would be to have a
__fixtures__
or something that the build skips. pact-foundation/jest-pact ✅ All checks have passed 11/11 successful checks