Skip to content

Instantly share code, notes, and snippets.

@RyanSusana
Created December 1, 2021 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save RyanSusana/6949916924d9779063ed1ad8bdec324d to your computer and use it in GitHub Desktop.
Save RyanSusana/6949916924d9779063ed1ad8bdec324d to your computer and use it in GitHub Desktop.
it("business logic should not depend on the frontend", async ()=> {
const rule = filesOfProject()
.inFolder("business")
.shouldNot()
.dependOnFiles()
.inFolder("frontend")
await expect(rule).toPassAsync()
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment