QUnit 1.18.0; Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Tests completed in 362 milliseconds.
58 assertions of 58 passed, 0 failed.
- jqvmap-base: Constructor Only (1)Rerun23 ms
- vectorMap() is instance of JQVMap@ 22 ms
- jqvmap-base: Accepts Config Options (1)Rerun10 ms
- vectorMap() is instance of JQVMap@ 9 ms
- jqvmap-config-validation: Test Config Options (30)Rerun133 ms
- vectorMap({ map: "world_en" }) set correctly@ 131 ms
- vectorMap({ backgroundColor: "#ffffff" }) set correctly@ 131 ms
- vectorMap({ borderColor: "#ffffff" }) set correctly@ 131 ms
- vectorMap({ borderOpacity: 0.25 }) set correctly@ 132 ms
- vectorMap({ borderWidth: 1 }) set correctly@ 132 ms
- vectorMap({ color: "#000000" }) set correctly@ 132 ms
- vectorMap({ colors: { us: "#ff0000" } }) set correctly@ 132 ms
- vectorMap({ enableZoom: false }) set correctly@ 132 ms
- vectorMap({ hoverColor: "#0000FF" }) set correctly@ 132 ms
- vectorMap({ hoverColors: { us: "#ff0000" } }) set correctly@ 132 ms
- vectorMap({ hoverOpacity: 0.7 }) set correctly@ 132 ms
- vectorMap({ normalizeFunction: "polynomial" }) set correctly@ 132 ms
- vectorMap({ scaleColors: ["#b6d6ff", "#005ace"] }) first color red set correctly@ 132 ms
- vectorMap({ scaleColors: ["#b6d6ff", "#005ace"] }) first color green set correctly@ 132 ms
- vectorMap({ scaleColors: ["#b6d6ff", "#005ace"] }) first color blue set correctly@ 132 ms
- vectorMap({ scaleColors: ["#b6d6ff", "#005ace"] }) second color red set correctly@ 132 ms
- vectorMap({ scaleColors: ["#b6d6ff", "#005ace"] }) second color green set correctly@ 132 ms
- vectorMap({ scaleColors: ["#b6d6ff", "#005ace"] }) second color blue set correctly@ 132 ms
- vectorMap({ selectedColor: "#333333" }) US set correctly@ 132 ms
- vectorMap({ selectedRegions: ["us", "mx"] }) US set correctly@ 132 ms
- vectorMap({ selectedRegions: ["us", "mx"] }) MX set correctly@ 132 ms
- vectorMap({ multiSelectRegion: false }) set correctly@ 132 ms
- vectorMap({ showTooltip: false }) set correctly@ 132 ms
- vectorMap({ showLabels: true }) set correctly@ 132 ms
- vectorMap({ onLabelShow: function(){} }) set correctly@ 132 ms
- vectorMap({ onRegionOver: function(){} }) set correctly@ 132 ms
- vectorMap({ onRegionOut: function(){} }) set correctly@ 132 ms
- vectorMap({ onRegionClick: function(){} }) set correctly@ 132 ms
- vectorMap({ pins: { us: "America" } }) set correctly@ 132 ms
- vectorMap({ pinMode: "content" }) set correctly@ 132 ms
- jqvmap-config-validation: Test selectedRegions actually set in canvas (2)Rerun10 ms
- vectorMap({ selectedColor: "#333333" }) set correctly for US@ 10 ms
- vectorMap({ selectedColor: "#333333" }) set correctly for MX@ 10 ms
- jqvmap-config-validation: Test colors actually set in canvas (2)Rerun9 ms
- vectorMap({ colors: { us: "#0000FF", mx: "#00FF00" } }) set correctly for US@ 8 ms
- vectorMap({ colors: { us: "#0000FF", mx: "#00FF00" } }) set correctly for MX@ 8 ms
- jqvmap-config-validation: Test labels show up (1)Rerun101 ms
- vectorMap({ showLabels: true }) set correctly and label showing@ 99 ms
- jqvmap-event-handling: onLoad() event handler (2)Rerun10 ms
- vectorMap({ onLoad: function(event, map }) fires correctly and returns an event@ 9 ms
- vectorMap({ onLoad: function(event, map }) fires correctly and returns map@ 9 ms
- jqvmap-event-handling: onLabelShow() event handler (3)Rerun8 ms
- vectorMap({ onLabelShow: function(event, label, code){ ... } }) fires correctly and returns an event@ 8 ms
- vectorMap({ onLabelShow: function(event, label, code){ ... } }) fires correctly and returns code@ 8 ms
- vectorMap({ onLabelShow: function(event, label, code){ ... } }) fires correctly and returns label@ 8 ms
- jqvmap-event-handling: onRegionOver() event handler (3)Rerun9 ms
- vectorMap({ onRegionOver: function(event, code, region){ ... } }) fires correctly and returns an event@ 9 ms
- vectorMap({ onRegionOver: function(event, code, region){ ... } }) fires correctly and returns code@ 9 ms
- vectorMap({ onRegionOver: function(event, code, region){ ... } }) fires correctly and returns region@ 9 ms
- jqvmap-event-handling: onRegionOut() event handler (3)Rerun8 ms
- vectorMap({ onRegionOut: function(event, code, region){ ... } }) fires correctly and returns an event@ 8 ms
- vectorMap({ onRegionOut: function(event, code, region){ ... } }) fires correctly and returns code@ 8 ms
- vectorMap({ onRegionOut: function(event, code, region){ ... } }) fires correctly and returns region@ 8 ms
- jqvmap-event-handling: onRegionClick() event handler (3)Rerun10 ms
- vectorMap({ onRegionClick: function(event, code, region){ ... } }) fires correctly and returns an event@ 9 ms
- vectorMap({ onRegionClick: function(event, code, region){ ... } }) fires correctly and returns code@ 9 ms
- vectorMap({ onRegionClick: function(event, code, region){ ... } }) fires correctly and returns region@ 9 ms
- jqvmap-event-handling: onRegionSelect() event handler (3)Rerun8 ms
- vectorMap({ onRegionSelect: function(event, code, region){ ... } }) fires correctly and returns an event@ 8 ms
- vectorMap({ onRegionSelect: function(event, code, region){ ... } }) fires correctly and returns code@ 8 ms
- vectorMap({ onRegionSelect: function(event, code, region){ ... } }) fires correctly and returns region@ 8 ms
- jqvmap-event-handling: onRegionDeselect() event handler (3)Rerun8 ms
- vectorMap({ onRegionDeselect: function(event, code, region){ ... } }) fires correctly and returns an event@ 8 ms
- vectorMap({ onRegionDeselect: function(event, code, region){ ... } }) fires correctly and returns code@ 8 ms
- vectorMap({ onRegionDeselect: function(event, code, region){ ... } }) fires correctly and returns region@ 8 ms
- jqvmap-error-handling: Invalid Map Name (1)Rerun0 ms
- Correctly threw invalid map error@ 0 ms