Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BLW-33 Sass-Tests schreiben #3

Merged
merged 25 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
b9a8746
build(BLW-33): add sass-true + upgrade deps
felix-berlin Jun 24, 2024
3de42c3
ci(BLW-33): add vitest and true config
felix-berlin Jun 24, 2024
006c4ce
ci(BLW-33): add gh action running tests
felix-berlin Jun 24, 2024
7b12642
ci(BWL-33): disable default watch mode
felix-berlin Jun 24, 2024
a3e83b6
test(BLW-33): force rerun on scss file changes
felix-berlin Jun 24, 2024
2fec218
feat(BLW-33): add error handling for px-to-rem
felix-berlin Jun 24, 2024
f91ea50
test(BLW-33): add test for px-to-rem
felix-berlin Jun 24, 2024
d5ed343
test(BLW-33): test all test-files
felix-berlin Jun 24, 2024
4d3d6ca
test(BLW-33): add round test
felix-berlin Jun 24, 2024
6df132c
test(BLW-33): add output:test commands
felix-berlin Jun 24, 2024
e666ddb
feat(BLW-33): add is-number type check fn
felix-berlin Jun 24, 2024
290ec26
fix(BLW-33): error handling
felix-berlin Jun 24, 2024
38ec2cb
test(BLW): add fluid test, update others
felix-berlin Jun 24, 2024
0eb89a5
test(BLW-33): add spacing and is-number test
felix-berlin Jun 24, 2024
437984c
test(BLW-33): add viewport-height tests
felix-berlin Jun 24, 2024
358c863
refactor(BLW-33): use scss loops to generate utils
felix-berlin Jun 24, 2024
7298f20
refactor(BLW-33): display utils generation
felix-berlin Jun 24, 2024
7ad30a0
refactor(BLW-33): position utils generation
felix-berlin Jun 24, 2024
d8f5ac3
test(BLW-33): position generator
felix-berlin Jun 24, 2024
15ae73a
test(BLW-33): display util tests
felix-berlin Jun 25, 2024
27037c9
refactor(BLW-33): dimensions
felix-berlin Jun 25, 2024
dc9a296
refactor(BLW-33): spacing utils
felix-berlin Jun 25, 2024
2976ef9
chore(BLW-33): remove @debug
felix-berlin Jun 25, 2024
8fac29b
Merge remote-tracking branch 'origin/main' into blw-33-sass-tests-sch…
kaiserkiwi Aug 19, 2024
bf3b391
Merge remote-tracking branch 'origin/main' into blw-33-sass-tests-sch…
felix-berlin Sep 9, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Unit Tests
on: [pull_request]

jobs:
tests:
name: Run unit tests
runs-on: ubuntu-latest

steps:
- name: Checkout ✅
uses: actions/checkout@v4

- name: Setup Node.js 🛠️
uses: actions/setup-node@v4
with:
node-version: 'lts/*'

- name: Install dependencies 📦
run: npm ci

- name: Run tests 🧪
run: npm test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ npm-debug.log
*.css.map
*.sass.map
*.scss.map
tests/output-test/
Loading