Error running tests

I am trying to create my first test, but I am getting errors just trying to run the test engine. When I execute “ember test” this is the result. I have not yet added my test.

Built project successfully. Stored in “C:\Users\cg\AppData\Local\Temp\tests-dist-2020125-11536-415gwy.6xsl5”. not ok 1 Chrome 76.0 - [undefined ms] - Global error: Uncaught Error: Could not find module collections/app imported from collections/tests/test-helper at http://localhost:7357/public/collections-webapp/assets/vendor.js, line 259 — browser log: | testContext: [object Object] ERROR: Uncaught Error: Could not find module collections/app imported from collections/tests/test-helper at http://localhost:7357/public/collections-webapp/assets/vendor.js, line 259

...

not ok 2 Chrome 76.0 - [undefined ms] - Global error: Uncaught Error: Assertion Failed: The tests file was not loaded. Make sure your tests index.html includes “assets/tests.js”. at http://localhost:7357/public/collections-webapp/assets/vendor.js, line 52232 — browser log: | testContext: [object Object] ERROR: Uncaught Error: Assertion Failed: The tests file was not loaded. Make sure your tests index.html includes “assets/tests.js”. at http://localhost:7357/public/collections-webapp/assets/vendor.js, line 52232

...

not ok 3 [undefined ms] - Error — message: > Received SIGINT signal …

1…3

tests 3

pass 0

skip 0

fail 3

Received SIGINT signal

Stack Trace and Error Report: C:\Users\cg\AppData\Local\Temp/error.dump.54e0d652c1eae662279cbf6fa6439834.log

This is what is in the log file:

ENV Summary:

TIME: Tue Feb 25 2020 15:51:26 GMT-0500 (Eastern Standard Time) TITLE: ember ARGV:

  • C:\Program Files\nodejs\node.exe
  • C:\DEV\git\collections-webapp\node_modules\ember-cli\bin\ember
  • test EXEC_PATH: C:\Program Files\nodejs\node.exe TMPDIR: C:\Users\cg\AppData\Local\Temp SHELL: null PATH:
  • C
  • \DEV\git\collections-webapp\node_modules.bin;C
  • \Program Files (x86)\Amazon Corretto\jdk1.8.0_232\bin;C
  • \ProgramData\DockerDesktop\version-bin;C
  • \Program Files\Docker\Docker\Resources\bin;C
  • \windows\system32;C
  • \windows;C
  • \windows\System32\Wbem;C
  • \windows\System32\WindowsPowerShell\v1.0;C
  • \windows\System32\OpenSSH;C
  • \Program Files\Citrix\System32;C
  • \Program Files\Citrix\ICAService;C
  • \Program Files (x86)\Shoreline Communications\ShoreWare Client;C
  • \Program Files (x86)\Shoreline Communications\ShoreWare Client\win64;C
  • \Program Files\Microsoft\Web Platform Installer;C
  • \Program Files\Microsoft JDBC Driver 4.1 for SQL Server\sqljdbc_4.1\enu\auth\x64;C
  • \Program Files\PuTTY;C
  • \Program Files\dotnet;C
  • \Program Files (x86)\Microsoft SQL Server\150\DTS\Binn;C
  • \Program Files (x86)\Microsoft SQL Server\110\DTS\Binn;C
  • \Program Files (x86)\Microsoft SQL Server\120\DTS\Binn;C
  • \Program Files (x86)\Microsoft SQL Server\130\DTS\Binn;C
  • \Program Files (x86)\Microsoft SQL Server\140\DTS\Binn;C
  • \Program Files\Microsoft SQL Server\130\Tools\Binn;C
  • \Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn;C
  • \ProgramData\chocolatey\bin;C
  • \Program Files\Git\cmd;C
  • \Program Files\Corretto\jdk1.8.0_222\bin;C
  • \Program Files\nodejs;C
  • \Users\cg\AppData\Local\Microsoft\WindowsApps;C
  • \Users\cg\AppData\Roaming\npm; PLATFORM: win32 x64 FREEMEM: 6671544320 TOTALMEM: 19326881792 UPTIME: 457186 LOADAVG: 0,0,0 CPUS:
  • Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz - 2700
  • Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz - 2700
  • Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz - 2700
  • Intel(R) Xeon(R) CPU E5-2680 0 @ 2.70GHz - 2700 ENDIANNESS: LE VERSIONS:
  • ares: 1.15.0
  • brotli: 1.0.7
  • cldr: 35.1
  • http_parser: 2.8.0
  • icu: 64.2
  • llhttp: 1.1.4
  • modules: 72
  • napi: 5
  • nghttp2: 1.39.2
  • node: 12.13.0
  • openssl: 1.1.1d
  • tz: 2019a
  • unicode: 12.1
  • uv: 1.32.0
  • v8: 7.7.299.13-node.12
  • zlib: 1.2.11

ERROR Summary:

  • broccoliBuilderErrorStack: [undefined]
  • code: [undefined]
  • codeFrame: [undefined]
  • errorMessage: Received SIGINT signal
  • errorType: [undefined]
  • location:
    • column: [undefined]
    • file: [undefined]
    • line: [undefined]
  • message: Received SIGINT signal
  • name: Error
  • nodeAnnotation: [undefined]
  • nodeName: [undefined]
  • originalErrorMessage: [undefined]
  • stack: Error: Received SIGINT signal at process._boundSigInterrupt (C:\DEV\git\collections-webapp\node_modules\testem\lib\utils\signal-listeners.js:16:25) at process.emit (events.js:215:7) at processEmit [as emit] (C:\DEV\git\collections-webapp\node_modules\signal-exit\index.js:155:32) at ReadStream.windowsCtrlCTrap (C:\DEV\git\collections-webapp\node_modules\ember-cli\lib\utilities\will-interrupt-process.js:168:16) at ReadStream.emit (events.js:210:5) at ReadStream.EventEmitter.emit (domain.js:476:20) at addChunk (_stream_readable.js:308:12) at readableAddChunk (_stream_readable.js:289:11) at ReadStream.Readable.push (_stream_readable.js:223:10) at TTY.onStreamRead (internal/stream_base_commons.js:182:23)

I have not been able to find any references to this error. Does anyone have any suggestions?

Thanks.

1 Like

Hi Cgallo,

I am facing the same issue. Did you find the root cause of the issue and fix for it?

I am using ember-source 2.18.2 and ember data 2.18.5

Thanks

Hi @harpreetanz888 if you’re seeing errors about the test file not being loaded the first thing to check is probably that your blueprint matches the ember-cli 2.18 app blueprint. If it’s a different error could you post more details?