Milan Burda
3ad3ade828
refactor: add prefer-const to .eslintrc + fix errors ( #14880 )
2018-10-02 11:56:31 +10:00
Samuel Attard
558fff69e7
chore: update to standard 12
2018-09-14 14:57:01 +10:00
Jeremy Apthorp
c452be02b9
refactor: properly report on skipped native modules tests ( #13894 )
2018-08-24 14:24:24 -07:00
John Kleinschmidt
134d3f98c9
Allow CI building on arm64 hardware
2018-03-08 09:53:47 -05:00
Aleksei Kuzmin
fbd5e4c2b3
Disable the "ffi" module test
2018-02-23 10:21:24 +09:00
Aleksei Kuzmin
cf749a8e18
Explicitly skip tests that should be skipped
2017-11-20 14:43:23 +01:00
Shelley Vohr
e4214a6cbe
[WIP] Upgrade more specs ( #10945 )
...
Finish upgrading specs to ES6
2017-10-27 16:45:58 -04:00
Kevin Sawicki
5cf4995f2e
DRY up logic to check if native modules should be loaded
2017-05-30 09:15:38 -07:00
Kevin Sawicki
93603882b1
Add root describe to be able to run whole file
2017-04-20 14:17:58 -07:00
Ryohei Ikegami
c77e07bc15
Fix afterEach
2017-04-12 11:55:41 +09:00
Ryohei Ikegami
9cb6bc098d
Use beforeEach/afterEach
2017-04-04 09:08:27 +09:00
Ryohei Ikegami
d1212d4a43
Fix JS style
2017-04-03 20:23:36 +09:00
Ryohei Ikegami
673f4f4d0c
Add test for require
to search under app dir
2017-04-03 20:11:19 +09:00
Kevin Sawicki
7e138083ef
Add declared const Buffer spec
2017-02-14 08:42:34 -08:00
Kevin Sawicki
e9226aa354
Assert test.coffee outside of doesNotThrow
2017-02-08 09:02:46 -08:00
Kevin Sawicki
84f8bfbdef
Add spec for registering/requiring Coffeescript
2017-02-08 09:00:14 -08:00
Kevin Sawicki
94cb605993
Use strictEqual for global variable asserts
2017-01-30 10:08:12 -08:00
Kevin Sawicki
e99b1709d9
Redeclare process/global as strings
2017-01-30 09:58:44 -08:00
Kevin Sawicki
4e5b8ac3ee
Remove throws and assert object directly
2017-01-30 09:38:15 -08:00
James Ide
0430380de1
Update the Node submodule to use the new module wrapper
...
See the fixed issue for the context. This pulls in a vendored copy of Node that includes the described patch.
Fixes #8358
Test Plan: Built Electron and verified it loaded the sample app correctly and that the module wrapper is the new one by viewing Node's source code in the Blink Inspector.
Added specs and tested with `npm test -- --grep "global variables"`
2017-01-30 09:37:14 -08:00
Cheng Zhao
f8bdc7437d
module search paths have changed
2016-09-14 16:23:01 +09:00
Kevin Sawicki
c6906deef2
Add failing spec for trailing separator bug
2016-06-23 15:39:21 -07:00
Kevin Sawicki
b273b70eee
Filter existing search paths instead reimplementing
2016-06-23 15:27:45 -07:00
Kevin Sawicki
eed240be1c
Add specs for Module._nodeModulesPath
2016-06-23 15:20:14 -07:00
Cheng Zhao
3402c7be3f
Suppress ffi test on Windows
2016-05-23 23:31:00 +09:00
Zeke Sikelianos
f35f362272
autoformat more files
2016-03-30 17:00:31 -07:00
Kevin Sawicki
12adaa0570
Remove unneeded returns
2016-02-17 09:08:34 -08:00
Kevin Sawicki
e63c3c727a
Add newlines between describe/it blocks
2016-02-17 09:08:34 -08:00
Kevin Sawicki
70bcb0ac5a
Clean up no-unused-vars lint errors
2016-01-21 09:32:21 -07:00
Kevin Sawicki
1f9691ae13
Convert all source files to JavaScript
2016-01-12 16:24:06 -08:00