Skip to content

Conversation

@ItsNickBarry
Copy link
Contributor

closes #338

This is a bad solution, and I understand if you'd prefer not to merge it.

@speedytwenty
Copy link
Collaborator

A little kludgy, but it'll blend right in!


table.push([{ content: 'looooooooooooong', href }]);

expect(table.toString().includes('\x1B]8;;\x07')).toEqual(true);
Copy link
Collaborator

Choose a reason for hiding this comment

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

I wonder if it'd be better to test the full output here. Concatenating the link closure incorrectly would still lead to a passing test.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I didn't do this initially because the string-literal table doesn't look as nice as the ones in the other issue tests. But I made the change and it seems fine.

@ItsNickBarry
Copy link
Contributor Author

Okay to merge (and publish)?

@speedytwenty
Copy link
Collaborator

Okay to merge (and publish)?

Looks good. Fell off my radar. I'll get a new release out shortly.

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.

href breaks when content is truncated

2 participants