Skip to content

Commit f6ddda3

Browse files
committed
update snaps
1 parent 8def84c commit f6ddda3

File tree

3 files changed

+34
-10
lines changed

3 files changed

+34
-10
lines changed

examples/integrate-with-next/tests/__snapshots__/index.test.tsx.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ exports[`Jest Snapshot testing suite Matches DOM Snapshot 1`] = `
2929
class LightMeasured {
3030
private _id?: number;
3131
private _lumens?: number;
32-
private _sentAt?: string;
32+
private _sentAt?: Date;
3333
private _additionalProperties?: Map<string, any>;
3434
3535
constructor(input: {
3636
id?: number,
3737
lumens?: number,
38-
sentAt?: string,
38+
sentAt?: Date,
3939
additionalProperties?: Map<string, any>,
4040
}) {
4141
this._id = input.id;
@@ -50,8 +50,8 @@ class LightMeasured {
5050
get lumens(): number | undefined { return this._lumens; }
5151
set lumens(lumens: number | undefined) { this._lumens = lumens; }
5252
53-
get sentAt(): string | undefined { return this._sentAt; }
54-
set sentAt(sentAt: string | undefined) { this._sentAt = sentAt; }
53+
get sentAt(): Date | undefined { return this._sentAt; }
54+
set sentAt(sentAt: Date | undefined) { this._sentAt = sentAt; }
5555
5656
get additionalProperties(): Map<string, any> | undefined { return this._additionalProperties; }
5757
set additionalProperties(additionalProperties: Map<string, any> | undefined) { this._additionalProperties = additionalProperties; }
@@ -77,12 +77,12 @@ export { LightMeasured };
7777
7878
class TurnOn {
7979
private _id?: number;
80-
private _sentAt?: string;
80+
private _sentAt?: Date;
8181
private _additionalProperties?: Map<string, any>;
8282
8383
constructor(input: {
8484
id?: number,
85-
sentAt?: string,
85+
sentAt?: Date,
8686
additionalProperties?: Map<string, any>,
8787
}) {
8888
this._id = input.id;
@@ -93,8 +93,8 @@ class TurnOn {
9393
get id(): number | undefined { return this._id; }
9494
set id(id: number | undefined) { this._id = id; }
9595
96-
get sentAt(): string | undefined { return this._sentAt; }
97-
set sentAt(sentAt: string | undefined) { this._sentAt = sentAt; }
96+
get sentAt(): Date | undefined { return this._sentAt; }
97+
set sentAt(sentAt: Date | undefined) { this._sentAt = sentAt; }
9898
9999
get additionalProperties(): Map<string, any> | undefined { return this._additionalProperties; }
100100
set additionalProperties(additionalProperties: Map<string, any> | undefined) { this._additionalProperties = additionalProperties; }

modelina-cli/package-lock.json

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,14 @@
8686
"test:library": "cross-env CI=true jest --coverage --testPathIgnorePatterns ./modelina-website --testPathIgnorePatterns ./test/runtime --testPathIgnorePatterns ./examples",
8787
"test:library:update": "npm run test:library -- -u",
8888
"test:examples": "npm run test:examples:regular && npm run test:examples:websites",
89-
"test:examples:update": "npm run test:examples:regular -- -u && npm run test:examples:websites -- -u",
89+
"test:examples:update": "npm run test:examples:regular -- -u && npm run test:examples:websites:update",
9090
"test:examples:regular": "cross-env CI=true jest ./examples --testPathIgnorePatterns ./examples/integrate-with-react --testPathIgnorePatterns ./examples/integrate-with-next",
9191
"test:examples:websites": "npm run test:examples:react && npm run test:examples:next",
92-
"test:examples:websites:update": "npm run test:examples:react -- -u && npm run test:examples:next -- -u",
92+
"test:examples:websites:update": "npm run test:examples:react:update && npm run test:examples:next:update",
9393
"test:examples:react": "cd ./examples/integrate-with-react && npm i && npm run test",
94+
"test:examples:react:update": "cd ./examples/integrate-with-react && npm i && npm run test -- -u",
9495
"test:examples:next": "cd ./examples/integrate-with-next && npm i && npm run test",
96+
"test:examples:next:update": "cd ./examples/integrate-with-next && npm i && npm run test -- -u",
9597
"test:runtime:java": "cross-env CI=true jest ./test/runtime/runtime-java.spec.ts",
9698
"test:runtime:python": "cross-env CI=true jest ./test/runtime/runtime-python.spec.ts",
9799
"generate:runtime:python": "cross-env CI=true ts-node ./test/runtime/runtime-python.ts",

0 commit comments

Comments
 (0)