Skip to content

Commit

Permalink
fix import warnings with tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack McNicol committed Nov 6, 2024
1 parent 1e71906 commit 51bff06
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 10 deletions.
1 change: 1 addition & 0 deletions test/functions/get-expression-dimension.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@use '../../dist/include-media' as *;
@use 'pkg:sass-true' as *;
@use 'sass:map';
@use 'sass:list';

Expand Down
1 change: 1 addition & 0 deletions test/functions/get-expression-operator.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@use '../../dist/include-media' as *;
@use 'pkg:sass-true' as *;

@include test-module('Functions') {
$tests-get-expression-operator: (
Expand Down
1 change: 1 addition & 0 deletions test/functions/get-expression-prefix.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@use '../../dist/include-media' as *;
@use 'pkg:sass-true' as *;

@include test-module('Functions') {
$tests-get-expression-prefix: (
Expand Down
1 change: 1 addition & 0 deletions test/functions/get-expression-value.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@use '../../dist/include-media' as *;
@use 'pkg:sass-true' as *;

@include test-module('Functions') {
$tests-get-expression-prefix: (
Expand Down
1 change: 1 addition & 0 deletions test/functions/parse-expression.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
@use 'sass:map';
@use '../../dist/include-media' as *;
@use 'pkg:sass-true' as *;

$tests-parse-expression: map.merge($media-expressions, (
'>phone': '(min-width: 321px)',
Expand Down
1 change: 1 addition & 0 deletions test/functions/slice.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@use '../../dist/include-media' as *;
@use 'pkg:sass-true' as *;
@use 'sass:map';
@use 'sass:list';

Expand Down
1 change: 1 addition & 0 deletions test/functions/to-number.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@use '../../dist/include-media' as *;
@use 'pkg:sass-true' as *;

@include test-module('Functions') {
@for $i from 1 through 10 {
Expand Down
18 changes: 8 additions & 10 deletions test/index.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
@import '../node_modules/sass-true/sass/true';

@import 'functions/to-number.scss';
@import 'functions/get-expression-operator.scss';
@import 'functions/get-expression-prefix.scss';
@import 'functions/get-expression-dimension.scss';
@import 'functions/get-expression-value.scss';
@import 'functions/slice.scss';
@import 'functions/parse-expression.scss';
@import 'nesting.scss';
@forward 'functions/to-number.scss';
@forward 'functions/get-expression-operator.scss';
@forward 'functions/get-expression-prefix.scss';
@forward 'functions/get-expression-dimension.scss';
@forward 'functions/get-expression-value.scss';
@forward 'functions/slice.scss';
@forward 'functions/parse-expression.scss';
@forward 'nesting.scss';
1 change: 1 addition & 0 deletions test/nesting.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
@use '../dist/include-media' as *;
@use 'pkg:sass-true' as *;

@include test-module('Media') {
@include test('Media nesting [media]') {
Expand Down

0 comments on commit 51bff06

Please sign in to comment.