Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/__tests__/mapping-templates.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ describe('Mapping Templates', () => {
expect(function () {
mapping.compile();
}).toThrowErrorMatchingInlineSnapshot(
`"Mapping tempalte file 'foo.vtl' does not exist"`,
`"Mapping template file 'foo.vtl' does not exist"`,
);
});
});
2 changes: 1 addition & 1 deletion src/__tests__/resolvers.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ describe('Resolvers', () => {
`);
});

it('should generate Pipeline Function Resources with VTL mapping tempaltes', () => {
it('should generate Pipeline Function Resources with VTL mapping templates', () => {
const api = new Api(
given.appSyncConfig({
dataSources: {
Expand Down
2 changes: 1 addition & 1 deletion src/resources/MappingTemplate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export class MappingTemplate {
compile(): string | IntrinsicFunction {
if (!fs.existsSync(this.config.path)) {
throw new this.api.plugin.serverless.classes.Error(
`Mapping tempalte file '${this.config.path}' does not exist`,
`Mapping template file '${this.config.path}' does not exist`,
);
}

Expand Down