MCPcopy
hub / github.com/github/docs / nl

Function nl

tests/unit/render-content.js:7–7  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

5// Use platform-specific line endings for realistic tests when templates have
6// been loaded from disk
7const nl = (str) => str.replace(/\n/g, EOL)
8
9describe('renderContent', () => {
10 test('takes a template and a context and returns a string (async)', async () => {

Callers 1

render-content.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected