Skip to content

Commit 2b7e01c

Browse files
committed
fix(core): rename mocks to mock in remaining package test files
1 parent 60bb3ba commit 2b7e01c

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

packages/angular/src/http-client.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const createOutput = (
4646
namingConvention: 'camelCase',
4747
fileExtension: '.ts',
4848
mode: 'single',
49-
mocks: { indexMockFiles: false, generators: [] },
49+
mock: { indexMockFiles: false, generators: [] },
5050
override: {
5151
operations: {},
5252
tags: {},

packages/angular/src/http-resource.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const createOutput = (
5454
namingConvention: 'camelCase',
5555
fileExtension: '.ts',
5656
mode: 'single',
57-
mocks: { indexMockFiles: false, generators: [] },
57+
mock: { indexMockFiles: false, generators: [] },
5858
override: {
5959
operations: {},
6060
tags: {},

packages/mock/src/faker/getters/combine.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function createMockContext(): ContextSpec {
2424
namingConvention: NamingConvention.CAMEL_CASE,
2525
fileExtension: '.ts',
2626
mode: OutputMode.SINGLE,
27-
mocks: { indexMockFiles: false, generators: [] },
27+
mock: { indexMockFiles: false, generators: [] },
2828
client: OutputClient.FETCH,
2929
httpClient: OutputHttpClient.FETCH,
3030
clean: false,

packages/solid-start/src/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function makeOutput(useDates = false): ContextSpec['output'] {
2929
namingConvention: NamingConvention.CAMEL_CASE,
3030
fileExtension: '.ts',
3131
mode: OutputMode.SINGLE,
32-
mocks: { indexMockFiles: false, generators: [] },
32+
mock: { indexMockFiles: false, generators: [] },
3333
client: OutputClient.FETCH,
3434
httpClient: OutputHttpClient.FETCH,
3535
clean: false,

0 commit comments

Comments
 (0)