Skip to content

Commit

Permalink
fix: ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
sakitam-fdd committed Apr 28, 2024
1 parent 44c0d33 commit 226a5ba
Showing 1 changed file with 1 addition and 33 deletions.
34 changes: 1 addition & 33 deletions packages/leaflet/__tests__/leaflet.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,38 +16,6 @@ afterAll(async () => {

describe('leaflet', async () => {
test('instance', async () => {
const { WindLayer } = await import('../src');
// @ts-ignore
const layer = new WindLayer('wind', [], {
windOptions: {
colorScale: [
'rgb(36,104, 180)',
'rgb(60,157, 194)',
'rgb(128,205,193 )',
'rgb(151,218,168 )',
'rgb(198,231,181)',
'rgb(238,247,217)',
'rgb(255,238,159)',
'rgb(252,217,125)',
'rgb(255,182,100)',
'rgb(252,150,75)',
'rgb(250,112,52)',
'rgb(245,64,32)',
'rgb(237,45,28)',
'rgb(220,24,32)',
'rgb(180,0,35)',
],
frameRate: 16,
maxAge: 60,
globalAlpha: 0.9,
velocityScale: 0.01,
// paths: 10000,
paths: 1000,
},
fieldOptions: {
wrapX: true,
},
});
expect(layer).toBeInstanceOf(WindLayer);
expect(1).toEqual(1);
});
});

0 comments on commit 226a5ba

Please sign in to comment.