eyeling 1.24.16 → 1.24.17

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eyeling",
3
- "version": "1.24.16",
3
+ "version": "1.24.17",
4
4
  "description": "A minimal Notation3 (N3) reasoner in JavaScript.",
5
5
  "main": "./index.js",
6
6
  "keywords": [
@@ -973,6 +973,22 @@ ${JSON.stringify(last, null, 2)}`);
973
973
  new RegExp('href="' + started.baseUrl.replace(/[.*+?^${}()|[\]\\]/g, '\\$&') + '/examples/input/smoke-arithmetic\\.trig"'),
974
974
  'Expected relative Markdown TriG links to resolve against the static output page, not /playground',
975
975
  );
976
+ assert.equal(smoke.outputTabsHidden, false, 'Expected smoke-arithmetic Markdown output tabs to be visible');
977
+ assert.equal(smoke.renderedHidden, false, 'Expected smoke-arithmetic Markdown output to render by default');
978
+ assert.equal(smoke.sourceHidden, true, 'Expected smoke-arithmetic Markdown source to be hidden by default');
979
+
980
+ await clickOutputSourceTab();
981
+ const smokeSourceView = await getPlaygroundState();
982
+ assert.equal(smokeSourceView.sourceTabSelected, true, 'Expected smoke-arithmetic Markdown source tab to be selectable');
983
+ assert.equal(smokeSourceView.renderedHidden, true, 'Expected smoke-arithmetic rendered panel to hide in source view');
984
+ assert.equal(smokeSourceView.sourceHidden, false, 'Expected smoke-arithmetic source editor to show in source view');
985
+ assert.match(smokeSourceView.output, /^# smoke-arithmetic/m, 'Expected smoke-arithmetic source tab to show Markdown source');
986
+
987
+ await clickOutputRenderedTab();
988
+ const smokeRenderedAgain = await getPlaygroundState();
989
+ assert.equal(smokeRenderedAgain.renderedTabSelected, true, 'Expected smoke-arithmetic Rendered tab to be selectable again');
990
+ assert.equal(smokeRenderedAgain.renderedHidden, false, 'Expected smoke-arithmetic rendered panel to show again');
991
+ assert.equal(smokeRenderedAgain.sourceHidden, true, 'Expected smoke-arithmetic source editor to hide again');
976
992
  endTest();
977
993
 
978
994
  // 8) URL-loaded repository examples should auto-load matching examples/builtin/<stem>.js.