Naming JavaScript and CoffeeScript files the same thing #110
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
So, I realize this isn't typical, but I have two files in my spec dir:
When I do this, I get erratic test output. One of two things happen, by chance:
In neither case will the JavaScript spec run.
Once I renamed one of the files, everything ran (and consistently):
What would you expect the behavior to be?
I would expect JHW to run both spec files like any other two
differently-named spec files. I may be conveying this poorly,
apologies.
On Jan 12, 2012, at 13:35, John Bintz
reply@reply.github.com
wrote:
All right, I'll add a scenario for this condition and look into it in a bit.
The issue was how I was comparing assets to each other to prevent multiple inclusion of files. I was comparing the logical path of the asset (in your case,
jasmine-given-spec
) to already-included assets, which means anything with the same signature will only get included once. I'm about to push a change that will instead compare the full paths of each asset. Let me know if this works better for you.