# test.web/core/normalizers/markdown.normalizer.test.ts

> 9 lines of code and 0 definitions.

Tree: Codebase Testing
Language: typescript
Canonical: https://banes-lab.com/anatomy/testing#file-testing-test-web-core-normalizers-markdown-normalizer-test-ts
Source text: https://banes-lab.com/source/testing/test.web/core/normalizers/markdown.normalizer.test.ts.txt

Listed in [test.web/core/normalizers](https://banes-lab.com/api/source/testing/test.web/core/normalizers.md), before [test.web/core/normalizers/text.normalizer.test.ts](https://banes-lab.com/source/testing/test.web/core/normalizers/text.normalizer.test.ts.md).

## Contained in

- [test.web/core/normalizers](https://banes-lab.com/anatomy/testing/folder-testing-test-web-core-normalizers.md)

## Source

```typescript
import { describe, expect, it } from "vitest";
import { inlineCode } from "@banes-lab/web/core/normalizers/markdown.normalizer.ts";

describe("inlineCode", () => {
    it("reads each inline code span, and the spans inside a link label", () => {
        expect(inlineCode("run `plan` then `verify`")).toStrictEqual(["plan", "verify"]);
        expect(inlineCode("see [`tool`](a.md) here")).toStrictEqual(["tool"]);
        expect(inlineCode("plain text")).toStrictEqual([]);
    });
});
```
