Skip to content

Custom assertion#70

Merged
Kacarott merged 4 commits intocodewars:mainfrom
Kacarott:dev
Feb 19, 2022
Merged

Custom assertion#70
Kacarott merged 4 commits intocodewars:mainfrom
Kacarott:dev

Conversation

@Kacarott
Copy link
Collaborator

@Kacarott Kacarott merged commit b30b8b9 into codewars:main Feb 19, 2022
@Kacarott Kacarott deleted the dev branch February 19, 2022 14:01
export { assert, config } from "chai";
export * as LC from "@codewars/lambda-calculus";
import { assert, config } from "chai";
import * as LC from "../src/lambda-calculus.js";
Copy link
Member

Choose a reason for hiding this comment

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

This won't work because there's no src/ in the image. @codewars/lambda-calculus is the package installed there.

To test without creating a new image, run npm install first in workspace/ to get workspace/node_modules/ then run npx mocha. If you have unreleased changes you want to test, release the package and update package.json before npm install. You can also do this temporarily locally to quickly test before releasing a new version, but don't commit the change.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Oh of course 🤦‍♂️ I did plan to revert that but forgot

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.

Bug when using custom encoding

2 participants