Created
December 1, 2021 15:17
-
-
Save RyanSusana/6949916924d9779063ed1ad8bdec324d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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