Home / File/ entities.test.js — astro Source File

entities.test.js — astro Source File

Architecture documentation for entities.test.js, a javascript file in the astro codebase. 3 imports, 0 dependents.

Entity Profile

Dependency Diagram

graph LR
  57a2109d_f527_9eec_796b_04d65d44689a["entities.test.js"]
  8350d254_ac08_0a3a_4696_d1a19f979b3a["../dist/index.js"]
  57a2109d_f527_9eec_796b_04d65d44689a --> 8350d254_ac08_0a3a_4696_d1a19f979b3a
  e1e2fac7_5a95_7a88_cb1e_0a3b91c4e607["strict"]
  57a2109d_f527_9eec_796b_04d65d44689a --> e1e2fac7_5a95_7a88_cb1e_0a3b91c4e607
  6b0635f9_51ea_77aa_767b_7857878e98a6["node:test"]
  57a2109d_f527_9eec_796b_04d65d44689a --> 6b0635f9_51ea_77aa_767b_7857878e98a6
  style 57a2109d_f527_9eec_796b_04d65d44689a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import assert from 'node:assert/strict';
import { before, describe, it } from 'node:test';
import { createMarkdownProcessor } from '../dist/index.js';

describe('entities', async () => {
	let processor;

	before(async () => {
		processor = await createMarkdownProcessor();
	});

	it('should not unescape entities in regular Markdown', async () => {
		const markdown = `<i>This should NOT be italic</i>`;
		const { code } = await processor.render(markdown);

		assert.equal(code, `<p>&#x3C;i>This should NOT be italic&#x3C;/i></p>`);
	});
});

Domain

Dependencies

  • ../dist/index.js
  • node:test
  • strict

Frequently Asked Questions

What does entities.test.js do?
entities.test.js is a source file in the astro codebase, written in javascript. It belongs to the CoreAstro domain.
What does entities.test.js depend on?
entities.test.js imports 3 module(s): ../dist/index.js, node:test, strict.
Where is entities.test.js in the architecture?
entities.test.js is located at packages/markdown/remark/test/entities.test.js (domain: CoreAstro, directory: packages/markdown/remark/test).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free