Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
vojtechpavlu committed Mar 20, 2024
1 parent 4241bd2 commit 4bf83af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions src/baseGenerators/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ import {
FloatGenerator,
FloatGeneratorConfig,
IntegerGenerator,
IntegerGeneratorConfig, NumberFromContextConfig, NumberFromContextGenerator
IntegerGeneratorConfig,
NumberFromContextConfig,
NumberFromContextGenerator,
} from './numeric';
import {
ConstantStringConfig,
Expand Down Expand Up @@ -43,7 +45,7 @@ export type ValueGeneratorName =
| 'constant-array'
| 'array-sample'
| 'string-in-context'
| 'number-in-context'
| 'number-in-context'
);

/**
Expand Down
2 changes: 1 addition & 1 deletion test/baseGenerators/numeric/NumberFromContext.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ describe('NumberFromContext generator', () => {
});

it('should throw an error on string non-empty value', () => {
const context = { value: "test" };
const context = { value: 'test' };

const generator = new NumberFromContextGenerator({
path: 'value',
Expand Down

0 comments on commit 4bf83af

Please sign in to comment.