The original asymmetric matcher code for Any did not work with symbols since `symbolInstance instanceof Symbol` is actually `false` (but, `symbolInstance.constructor` is `Symbol). This simply adds an extra clause that explicitly checks for symbol (if available) like the other primitive types. Also added some missing specs for other types, like Map, Set, etc. Fixes #1431.
33 lines
757 B
YAML
33 lines
757 B
YAML
#This 'magic' inclusion order allows the travis build to pass.
|
|
#TODO: search for the correct files to include to prevent
|
|
src_dir:
|
|
- 'src'
|
|
src_files:
|
|
- 'core/base.js'
|
|
- 'core/util.js'
|
|
#end of known dependencies
|
|
- 'core/Spec.js'
|
|
- 'core/Env.js'
|
|
- 'core/JsApiReporter.js'
|
|
- 'core/PrettyPrinter.js'
|
|
- 'core/Suite.js'
|
|
- 'core/**/*.js'
|
|
- 'html/**.js'
|
|
- '**/*.js'
|
|
stylesheets:
|
|
helpers:
|
|
- 'helpers/asyncAwait.js'
|
|
- 'helpers/BrowserFlags.js'
|
|
- 'helpers/checkForMap.js'
|
|
- 'helpers/checkForSet.js'
|
|
- 'helpers/checkForSymbol.js'
|
|
- 'helpers/checkForTypedArrays.js'
|
|
- 'helpers/defineJasmineUnderTest.js'
|
|
spec_files:
|
|
- '**/*[Ss]pec.js'
|
|
- '!npmPackage/**/*'
|
|
spec_dir: spec
|
|
random: true
|
|
spec_helper: spec/support/jasmine_helper.rb
|
|
|