@include test-module('oFooterServices') {
	@include test('Outputs base styles and default icons by default.') {
		@include assert {
			@include output($selector: false) {
				@include oFooterServices();
			}

			// o-footer-service__container base styles
			@include contains($selector: false) {
				.o-footer-services .o-footer-services__container {
					width: 100%;
					position: relative;
				}
			}
		}

		@include assert {
			@include output($selector: false) {
				@include oFooterServices();
			}

			// o-footer-services__icon-link--github icon styles
			@include contains($selector: false) {
				.o-footer-services .o-footer-services__icon-link--github:before {
					background-image: url("https://images.ft.com/v3/image/raw/ftsocial-v2%3Agithub?source=#{$system-code}&tint=000000&format=svg");
				}
			}
		}
	}

	@include test('Outputs a given logo.') {
		@include assert {
			@include output($selector: false) {
				@include oFooterServices($opts: ('logo': 'ftlogo-v1:origami'));
			}

			// o-footer-service__container base styles
			@include contains($selector: false) {
				.o-footer-services__logo:before {
					background-image: url('https://images.ft.com/v3/image/raw/ftlogo-v1%3Aorigami?source=#{$system-code}');
				}
			}
		}
	}

	@include test('Outputs a given icon.') {
		@include assert {
			@include output($selector: false) {
				@include oFooterServices($opts: ('icons': ('whatsapp')));
			}

			// o-footer-service__container base styles
			@include contains($selector: false) {
				.o-footer-services .o-footer-services__icon-link--whatsapp:before {
					background-image: url("https://images.ft.com/v3/image/raw/ftsocial-v2%3Awhatsapp?source=#{$system-code}&tint=000000&format=svg");
				}
			}
		}
	}
}
