Skip to content

Commit f7bc93e

Browse files
committed
Add test for custom transformation with @expose
1 parent 863abee commit f7bc93e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/functional/custom-transform.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import * as moment from "moment";
66

77
describe("custom transformation decorator", () => {
88

9-
it("@Expose decorator with 'name' option should work with @Transform decorator", () => {
9+
it("@Expose decorator with \"name\" option should work with @Transform decorator", () => {
1010
defaultMetadataStorage.clear();
1111

1212
class User {
1313

14-
@Expose({name: 'user_name'})
14+
@Expose({name: "user_name"})
1515
@Transform(value => value.toUpperCase())
1616
name: string;
1717
}

0 commit comments

Comments
 (0)