Home Reference Source Test Repository

Test

Description Identifier Count

Should only call compile once for the same file

-

Should roundtrip binary files

-

Should roundtrip binary files synchronously

-

Should only call compile once for the same file synchronously

-

Shouldnt cache compile failures

-

should have a MIME type in mime-types

-

should compile basic HTML and not blow up

-

Should compile everything in the fixtures directory

-

Should compile everything in the fixtures directory sync

-

Should read files from cache once we compile them

-

Should read files from cache once we compile them synchronously

-

Should read files from serialized compiler information

-

Should read files from serialized compiler information synchronously

-
test/compiler-valid-invalid.js -
test/compiler-valid-invalid.js -

should return compilers

-

should definitely have these compilers

-

respects suppressing source maps (scenario test)

-

reads from an environment-free file

-

uses the development env when env is unset

-

uses the production env when env is set

-

reads from an environment-free file

-

uses the development env when env is unset

-

uses the production env when env is set

-

Correctly computes a file hash for a canned file

-

Correctly handles binary files

-

Correctly computes a file hash for a canned file syncronously

-

Doesn't rerun the file hash if you ask for it twice

-

Throws on cache misses in production mode

-

Successfully saves and loads its cache information

-

Detects changes to files and reruns hash

-

Successfully finds if a file has a source map

-

Successfully finds if a file has a source map synchronously

-

Successfully finds if a file is minified

-

Successfully finds if a file is in node_modules

-
test/inline-html-compiler.js -
test/inline-html-compiler.js -

should remove protocol-relative URLs because they are dumb

-

should canonicalize x-require paths

-

should rig pages with HEAD tags

-

should rig pages without tags

-