Skip to content

Commit

Permalink
test: make ci pass
Browse files Browse the repository at this point in the history
  • Loading branch information
hustcc committed Dec 8, 2022
1 parent cd40be9 commit df9ab51
Show file tree
Hide file tree
Showing 29 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion __tests__/integration/animations/aapl-area-keyframe.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,3 @@ export async function aaplAreaKeyframe(): Promise<G2Spec> {
}

aaplAreaKeyframe.intervals = [false, false, [333, 666]];
aaplAreaKeyframe.only = true;
3 changes: 2 additions & 1 deletion __tests__/integration/charts/aapl-line-slider-transposed.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { format } from 'fecha';
import { G2Spec } from '../../../src';

export function aaplLineSliderTransponsed(): G2Spec {
Expand All @@ -19,7 +20,7 @@ export function aaplLineSliderTransponsed(): G2Spec {
},
slider: {
x: {
labelFormatter: (d) => new Date(d).toLocaleDateString(),
labelFormatter: (d) => format(d, 'YYYY/M/D'),
},
y: {
labelFormatter: '~s',
Expand Down
3 changes: 2 additions & 1 deletion __tests__/integration/charts/aapl-line-slider.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { format } from 'fecha';
import { G2Spec } from '../../../src';

export function aaplLineSlider(): G2Spec {
Expand All @@ -18,7 +19,7 @@ export function aaplLineSlider(): G2Spec {
},
slider: {
x: {
labelFormatter: (d) => new Date(d).toLocaleDateString(),
labelFormatter: (d) => format(d, 'YYYY/M/D'),
},
y: {
labelFormatter: '~s',
Expand Down
Binary file modified __tests__/integration/snapshots/aaplLineSlider.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified __tests__/integration/snapshots/aaplLineSliderTransponsed.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified __tests__/integration/snapshots/stocks-keyframe/interval2-0.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified __tests__/integration/snapshots/stocks-keyframe/interval2-1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@
"d3-random": "^3.0.1",
"eslint": "^7.22.0",
"eslint-plugin-import": "^2.22.1",
"fecha": "^4.2.3",
"husky": "^7.0.0",
"jest": "^26.0.1",
"jest-electron": "^0.1.12",
Expand Down

0 comments on commit df9ab51

Please sign in to comment.