Extending executors #29298
Unanswered
JesseZomer
asked this question in
Questions
Extending executors
#29298
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello 👋 ,
I'm writing an Nx plugin that's adding some projects to the project graph. I want to give these projects a test target, and use the @Nx/jest:jest executor. I've added the following code:
This seems to work ok, however I can't define inputs here because they get overwritten by the defaults in
nx.json
.So I thought I'd make my own executor specifically for these tests, so I can use my own inputs. This is the only thing the executor does:
however I'm getting the following errors:
If i'm reading https://nx.dev/extending-nx/recipes/compose-executors#compose-executors correctly this should be possible right? (the it's just a function, you can just call it part. However there seems to be a difference compared to running it directly)
anybody have any ideas?
P.S I've wanted to ask this on discord however when I click the discord link on the website it says the invite is expired
Beta Was this translation helpful? Give feedback.
All reactions