diff options
| author | s-ol <s-ol@users.noreply.github.com> | 2018-10-27 12:28:38 +0000 |
|---|---|---|
| committer | s-ol <s-ol@users.noreply.github.com> | 2018-10-27 12:28:38 +0000 |
| commit | 416af672c415341b35aec9c99428324b2265419d (patch) | |
| tree | c8b9ccdff893b5d18ed43ab58eb8367d5d08e8fd /app/test_component.moon | |
| parent | more friendly description (diff) | |
| download | mmm-416af672c415341b35aec9c99428324b2265419d.tar.gz mmm-416af672c415341b35aec9c99428324b2265419d.zip | |
infinite table for lib.component
Diffstat (limited to 'app/test_component.moon')
| -rw-r--r-- | app/test_component.moon | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/test_component.moon b/app/test_component.moon index dba511b..9e3a0ed 100644 --- a/app/test_component.moon +++ b/app/test_component.moon @@ -50,6 +50,12 @@ on_client -> node = text 'a', 'test', 'string' assert node.data == 'a test string', "expected text to join arguments with spaces" + run_test "exports elements table", -> + import elements from require 'lib.component' + + assert (type elements.div!) == 'table', "expected to build element with elements.div!" + assert (type elements.madeup!) == 'table', "expected to build element with elements.madeup!" + run_test = test_group 'ReactiveVar' run_test "stores a value", -> |
