# runSettingsStoreContract

Runs the shared behavioural suite for a `SettingsStore`. Every test
calls `create` for a fresh subject.

This is a function exported by `@mapcairn/core/contracts`, checked against version 0.2.0.

## Signature

```ts
import { runSettingsStoreContract } from "@mapcairn/core/contracts";
 
function runSettingsStoreContract(name: string, create: () => SettingsStoreSubject): void;
```

## Parameters

- `name` (`string`)
- `create` (`() => SettingsStoreSubject`)

## Returns

`void`

## See also

- [`SettingsStoreSubject`](https://docs.mapcairn.com/api/core/contracts/SettingsStoreSubject.md)

Source: [packages/core/src/contracts/settingsStore.contract.ts:27](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/contracts/settingsStore.contract.ts#L27)
