# test.govlab/context/core/selectors/vocabulary.selector.test.ts

> 12 lines of code and 0 definitions.

Tree: Codebase Testing
Language: typescript
Canonical: https://banes-lab.com/anatomy/testing#file-testing-test-govlab-context-core-selectors-vocabulary-selector-test-ts
Source text: https://banes-lab.com/source/testing/test.govlab/context/core/selectors/vocabulary.selector.test.ts.txt

Listed in [test.govlab/context/core/selectors](https://banes-lab.com/api/source/testing/test.govlab/context/core/selectors.md), after [test.govlab/context/core/selectors/reason.selector.test.ts](https://banes-lab.com/source/testing/test.govlab/context/core/selectors/reason.selector.test.ts.md).

## Contained in

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

## Source

```typescript
import assert from "node:assert/strict";
import { test } from "vitest";
import { valuesOf } from "@govlab/context/core/selectors/vocabulary.selector.ts";

test("valuesOf lists each entry's value in order", () => {
    assert.deepEqual(
        valuesOf([
            { definition: "d", value: "low" },
            { definition: "d", value: "high" },
        ]),
        ["low", "high"],
    );
});
```
