@cloud-ru/ft-config-vitest 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## <small>1.2.1 (2024-10-24)</small>
7
+
8
+ * deps(FF-5782): update deps ([c30dd4a](https://github.com/cloud-ru-tech/frontend-tools/commit/c30dd4a))
9
+
10
+
11
+
12
+
13
+
6
14
  # 1.2.0 (2024-09-23)
7
15
 
8
16
 
package/dist/cjs/index.js CHANGED
@@ -8,6 +8,9 @@ const config_1 = require("vitest/config");
8
8
  const tsconfigPathsConverter_1 = require("./tsconfigPathsConverter");
9
9
  const getDefaultConfig = ({ useAliases = true }) => (0, config_1.defineConfig)({
10
10
  test: {
11
+ snapshotFormat: {
12
+ escapeString: true,
13
+ },
11
14
  globals: true,
12
15
  include: ['**/__tests__/**/*.spec.(ts|js|tsx|jsx)'],
13
16
  environment: 'jsdom',
package/dist/esm/index.js CHANGED
@@ -3,6 +3,9 @@ import { defineConfig, mergeConfig } from 'vitest/config';
3
3
  import { tsconfigPathsConverter } from './tsconfigPathsConverter';
4
4
  const getDefaultConfig = ({ useAliases = true }) => defineConfig({
5
5
  test: {
6
+ snapshotFormat: {
7
+ escapeString: true,
8
+ },
6
9
  globals: true,
7
10
  include: ['**/__tests__/**/*.spec.(ts|js|tsx|jsx)'],
8
11
  environment: 'jsdom',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloud-ru/ft-config-vitest",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "author": {
5
5
  "name": "Nikita Karpenko",
6
6
  "url": "https://github.com/skaele"
@@ -11,9 +11,9 @@
11
11
  "description": "Config and dependencies for vitest",
12
12
  "license": "Apache-2.0",
13
13
  "dependencies": {
14
- "@vitest/coverage-c8": "0.33.0",
15
- "jsdom": "22.1.0",
16
- "vitest": "0.33.0"
14
+ "@vitest/coverage-v8": "2.1.3",
15
+ "jsdom": "25.0.1",
16
+ "vitest": "2.1.3"
17
17
  },
18
18
  "types": "./dist/esm/index.d.ts",
19
19
  "exports": {
@@ -32,5 +32,5 @@
32
32
  "url": "https://github.com/cloud-ru-tech/frontend-tools.git",
33
33
  "directory": "packages/config-vitest"
34
34
  },
35
- "gitHead": "6206030ae4e7e66722df5cf449a883d0e000a461"
35
+ "gitHead": "d11ba92f16181c1a844528facbdab64b83c6731c"
36
36
  }
package/src/index.ts CHANGED
@@ -11,6 +11,9 @@ type DefaultConfigOptions = {
11
11
  const getDefaultConfig = ({ useAliases = true }: DefaultConfigOptions) =>
12
12
  defineConfig({
13
13
  test: {
14
+ snapshotFormat: {
15
+ escapeString: true,
16
+ },
14
17
  globals: true,
15
18
  include: ['**/__tests__/**/*.spec.(ts|js|tsx|jsx)'],
16
19