Skip to content

Conversation

AndersDJohnson
Copy link

@AndersDJohnson AndersDJohnson commented Jul 16, 2022

Supports dependents/node-dependency-tree#147.

filename is existing, but treePath will only come with dependents/node-dependency-tree#149.

See example use case in dependents/detective-typescript#48.

@AndersDJohnson AndersDJohnson changed the title feat: pass filename to detective feat: pass filename and tree path to detective Jul 16, 2022
test/index.js Outdated
});

assert.deepEqual(stub.args[0][1], config.amd);
assert.deepEqual(stub.args[0][1].skipLazyLoaded, config.amd.skipLazyLoaded);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Modifying these two tests to assert only on the specific property they're setting up, rather than the whole arguments objects, which now include more data irrelevant to this test, including filename.

@XhmikosR
Copy link
Member

@AndersDJohnson please rebase and add a separate test.

@XhmikosR XhmikosR force-pushed the detective-filename branch from 435b18d to a374aa9 Compare April 14, 2024 19:17
@XhmikosR
Copy link
Member

@AndersDJohnson I rebased your branch; now we only need the tests fixed and new ones added.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants