trmnlp-test 0.1.8 → 0.1.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/trmnlp_test/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1a8cf6e0c24f5af6b9efe85a649ba2db67c317879b1fceadcb65d1ffc067eebe
|
|
4
|
+
data.tar.gz: 2b6815bf81815329f8acc596fb42ef20f58166ed34e0b834929a3e9bb6b904e8
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 89a21ae5fec6701fe57b7601467ab61de49e27eae862b4081853e8989150024767813610c1b685243b8308e12e3a7407b74d7757c69c668ead777a732195bc79
|
|
7
|
+
data.tar.gz: 918d5191358825fa4f6a00022c232030e5e97b5d8d8bc43fbd55ed22c0f1442e3a381156d45763a556e37ef17e38b3c3b22ee6fd43a8430f0a4dfe7983728d8c
|
data/README.md
CHANGED
|
@@ -71,7 +71,7 @@ const { test, expect, matrix, VIEWS, DEVICES, FRAMEWORK } = require('trmnlp-test
|
|
|
71
71
|
test('menu', async ({ trmnl }) => {
|
|
72
72
|
const screen = await trmnl.render({
|
|
73
73
|
device: 'og_plus', view: 'full', // any model, orientation: 'portrait', palette, theme, scale, textScale, fonts, framework
|
|
74
|
-
darkMode: true, //
|
|
74
|
+
darkMode: true, // TRMNL's dark-mode classes (screen--dark-mode, dark-mode)
|
|
75
75
|
qr: 'server', // qr_code as TRMNL's server returns it (default); 'trmnlp', 'fixed'
|
|
76
76
|
crlf: true, // the template with CR LF newlines (e.g. pasted markup)
|
|
77
77
|
fields: { data_source: 'webhook' }, // custom field values (defaults + .trmnlp.yml + these)
|
|
@@ -119,5 +119,5 @@ See [docs/README.md](docs/README.md) for diagrams of the components, a render, s
|
|
|
119
119
|
## Examples and self-tests
|
|
120
120
|
|
|
121
121
|
- `examples/payment-qr`: the earlier webhook + serverless version of the payment QR plugin (the current version tests itself with trmnlp-test in its own repository).
|
|
122
|
-
- `test/self/trmnlp-vs-trmnl.spec.js`: where trmnlp renders differently from TRMNL, as tests that fail on trmnlp's behaviour (marked `test.fail`, so they turn red once trmnlp matches). `TRMNLP_TEST_SHOW_DIFFERENCES=1` prints the failures.
|
|
122
|
+
- `test/self/trmnlp-vs-trmnl.spec.js`: where trmnlp's `qr_code` renders differently from TRMNL, as tests that fail on trmnlp's behaviour (marked `test.fail`, so they turn red once trmnlp matches). `TRMNLP_TEST_SHOW_DIFFERENCES=1` prints the failures.
|
|
123
123
|
- `test/self`: fixture plugins for every strategy and language (86 tests). Run with `bin/trmnlp-test run --root test/self`.
|
data/lib/trmnlp_test/version.rb
CHANGED