Skip to content

Commit d7acee4

Browse files
committed
fix test
1 parent a98d95d commit d7acee4

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

spring-boot-admin-server-ui/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@
9090
"vue"
9191
],
9292
"moduleNameMapper": {
93+
"@/(.*)$": "<rootDir>/src/main/frontend/$1",
9394
"\\.(jpg|jpeg|png|gif|eot|otf|webp|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/test/frontend/__mocks__/file-mock.js"
9495
},
9596
"transform": {

spring-boot-admin-server-ui/src/main/frontend/views/wallboard/hex-mesh.spec.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
import * as hm from './hex-mesh'
17+
import * as hm from './hex-mesh';
1818

1919
describe('calcLayout', () => {
2020

@@ -24,7 +24,7 @@ describe('calcLayout', () => {
2424
expect(result).toEqual({
2525
rows: 3,
2626
cols: 5,
27-
sidelength: 175.8
27+
sideLength: 175.8
2828
});
2929
});
3030

@@ -34,7 +34,7 @@ describe('calcLayout', () => {
3434
expect(result).toEqual({
3535
rows: 1,
3636
cols: 1,
37-
sidelength: 50
37+
sideLength: 50
3838
});
3939
});
4040

spring-boot-admin-server/src/test/java/de/codecentric/boot/admin/server/config/AdminServerNotifierAutoConfigurationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ private static class TestNotifier implements Notifier {
209209

210210
private TestNotifier() {
211211
UnicastProcessor<InstanceEvent> unicastProcessor = UnicastProcessor.create();
212-
this.publishedFlux = unicastProcessor.publish().autoConnect(0);
212+
this.publishedFlux = unicastProcessor;
213213
this.sink = unicastProcessor.sink();
214214
}
215215

0 commit comments

Comments
 (0)