Commit graph

17 commits

Author SHA1 Message Date
Sam Szreter
bcf427a3be Fix ospec --require with relative paths (#2511) 2019-08-11 11:23:23 -04:00
Isiah Meadows
20f0759103
Fix docs (#2482)
* Fix #2414, address part of #1687

Also cleared the CSS up to be a lot more readable instead of smooshed
into a single line.

* Redo the testing docs page

- Addresses another part of #1687
- Also, fix a few linter issues in the ospec binary

* Add note about third-party cookies, tweak a line

* Make the JSX comparison much more meaningful

And let the code speak for itself. Don't fuel the flame wars any more
than what they've already become. We should be *unopinionated*, and so
I've updated those docs to remove the existing opinion.

* Remove a bunch of outdated ES6 references

* Remove the CSS page
2019-07-23 16:33:56 -04:00
Pierre-Yves Gérardy
562d680981 [ospec/bin] Back to ES5 (and complimentary cleanup), fix #2160 2018-05-24 18:57:04 +02:00
Gilbert
91b08c6491 Add --require feature to ospec executable (#2144)
* Allow requires before running tests

This enables requiring modules like `esm` before any test files are loaded.

* Update ospec documentation

Also add documentation for `--require` option

* Update ospec change-log.md

* [opsec] move the change log item to v2.0

* [ospec] tweak the docs
2018-05-09 17:46:55 +02:00
Már Örlygsson
ceabe993a3 fix(ospec): Only run o.run() once (#2142) 2018-05-07 01:46:56 +02:00
Már Örlygsson
cfaa377c1e [ospec] feat: nicer binary with support for globs (#2141)
* feat(ospec): CLI support for file-patterns and an --ignore flag

The added dependency is only used by the node.js binary - which normally only ever installed via npm/yarn anyway.

This does not interfer with ospec proper being dependencyless.

* chore(mithril): Add glob dependency needed by the ospec binary

this is only needed while ospec is inlined in the
mithril repo. As soon as ospec is split away into a
standalone npm module, this will not be required anymore.

* refactor(ospec): Use 'match' events instead of callback

Performance should be similar, but the code looks
cleaner and easier to grok.

* Misc tweaks
2018-05-07 01:32:01 +02:00
Paul D. Fernhout
95addffda6 Update ospec to ignore hidden directories and files 2017-05-20 17:09:32 +00:00
Isiah Meadows
1cc5fa5ba7 "use strict" and other linty fixes 2017-03-03 18:24:38 -05:00
James Yang
1403c66072 fix: stat is undefined in some cornor case 2017-01-13 17:11:12 +08:00
Pierre-Yves Gerardy
64b759fd83 [ospec] Speed up the CLI runner by skipping node_modules early 2016-12-26 11:03:34 +01:00
Leo Horie
72de37f98b change line endings - step 2 2016-10-26 15:24:08 -04:00
Leo Horie
00abe297df change line endings, step 1 2016-10-26 15:23:19 -04:00
Leo Horie
89492a4956 modularize bundler and minify scripts 2016-06-23 01:10:30 -04:00
Leo Horie
bce2abbffd Merge remote-tracking branch 'origin/rewrite' into rewrite
Conflicts:
	docs/keys.md
	docs/signatures.md
	docs/v1.x-migration.md
	index.js
	ospec/bin/ospec.cmd
	request/request.js
	request/tests/test-xhr.js
	util/prop.js
	util/tests/index.html
	util/tests/test-prop.js
2016-06-20 09:34:14 -04:00
Leo Horie
a1fbe16b55 ospec fixes 2016-06-20 09:22:15 -04:00
impinball
b4fb21475c Add editorconfig, resolve differences
This includes newlines, tabs, among other things.
2016-06-18 03:22:12 -04:00
Leo Horie
559369016d initial commit (work in progress) 2016-04-20 20:02:37 -04:00