Skip to content

Commit 188d59e

Browse files
committed
TEST: Update test files
1 parent 6766182 commit 188d59e

File tree

3 files changed

+24
-5
lines changed

3 files changed

+24
-5
lines changed

gulpfile.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ function buildMainSass() {
2929
.pipe(gulp.dest('./dist/css'));
3030
}
3131

32-
function testSass() {
32+
function buildTestSassVanilla() {
3333
return gulp.src(['./tests/vanilla/scss/main.test.scss'], { sourcemaps: true })
3434
.pipe(sass().on('error', sass.logError))
35-
.pipe(gulp.dest('./tests/vanilla/scss/'));
35+
.pipe(gulp.dest('./tests/vanilla/css/'));
3636
}
3737

38-
exports.default = {
38+
exports.default = gulp.series(
3939
// buildMainSass,
40-
testSass
41-
};
40+
buildTestSassVanilla
41+
);

tests/vanilla/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,22 @@
55
<meta name="viewport"
66
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
77
<meta http-equiv="X-UA-Compatible" content="ie=edge">
8+
<link rel="stylesheet" href="css/main.test.css">
89
<title>PYC-UI Testing</title>
910
</head>
1011
<body>
1112

13+
<button class="pyc-button">
14+
<span class="pyc-button__label">Button</span>
15+
</button>
16+
17+
<button class="pyc-button is-outlined">
18+
<span class="pyc-button__label">Button</span>
19+
</button>
20+
21+
<button class="pyc-button is-filled">
22+
<span class="pyc-button__label">Button</span>
23+
</button>
24+
1225
</body>
1326
</html>

tests/vanilla/scss/main.test.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,9 @@
2020
// SOFTWARE.
2121
///
2222

23+
@use 'node_modules/@pycord/pycui';
24+
@use 'node_modules/@pycord/pycui/pyc-button';
25+
26+
@include pycui.init {
27+
@include pyc-button.render();
28+
}

0 commit comments

Comments
 (0)