# test.govlab/quality/core/adapters/tool.yamllint.adapter.test.ts

> 8 lines of code and 0 definitions.

Tree: Codebase Testing
Language: typescript
Canonical: https://banes-lab.com/anatomy/testing#file-testing-test-govlab-quality-core-adapters-tool-yamllint-adapter-test-ts
Source text: https://banes-lab.com/source/testing/test.govlab/quality/core/adapters/tool.yamllint.adapter.test.ts.txt

Listed in [test.govlab/quality/core/adapters](https://banes-lab.com/api/source/testing/test.govlab/quality/core/adapters.md), after [test.govlab/quality/core/adapters/tool.stylua.adapter.test.ts](https://banes-lab.com/source/testing/test.govlab/quality/core/adapters/tool.stylua.adapter.test.ts.md).

## Contained in

- [test.govlab/quality/core/adapters](https://banes-lab.com/anatomy/testing/folder-testing-test-govlab-quality-core-adapters.md)

## Source

```typescript
import { expect, test } from "vitest";
import { ROOT } from "@ssot/paths";
import { govlabYamllintConfig } from "@govlab/quality/core/adapters/tool.yamllint.adapter.ts";

test("govlabYamllintConfig builds the inline config and the interpreter command", async () => {
    const { command, config } = await govlabYamllintConfig(ROOT);
    expect(command.length).toBeGreaterThan(0);
    expect(typeof config["extends"]).toBe("string");
});
```
