Commit Graph

24 Commits

Author SHA1 Message Date
Jia Hao Goh 20fc09799b Remove Windows tests
We don't want to install wine on travis, as it slows down the whole CI
process.

We also shouldn't be testing if we can build the electron app,
and instead our unit tests should test that we pass the correct
parameters to electron packager.

TODO ^
2017-04-30 00:41:15 +08:00
Jia Hao Goh 8f78dd03af Update eslint and use Airbnb style
- Add `npm run lint:fix` command
- Cleanup inferIcon.js logic slightly
2017-04-29 22:52:12 +08:00
Darren Haken 461c7a38f0 Change Mocha to not need a babel build to run (#349)
* Change Mocha to not need a babel build to run

- Also add tests around normalizeUrl

* PR 359 Apply changes due to comments

- Remove babelrc as its in the package.json
- Change tdd npm task to use gulp
- Remove source map support file from import list for normalizeUrlSpec
- Change gulp tdd task to run mocha on first run
 359 Apply changes due to comments

 - Remove babelrc as its in the package.json
 - Change tdd npm task to use gulp
 - Remove source map support file from import list for normalizeUrlSpec
 - Change gulp tdd task to run mocha on first run
 359 Apply changes due to comments

 - Remove babelrc as its in the package.json
 - Change tdd npm task to use gulp
 - Remove source map support file from import list for normalizeUrlSpec
 - Change gulp tdd task to run mocha on first run
2017-04-25 16:04:57 +01:00
Ronan Jouchet be4b9a7436 Fix #327 - Update dependencies (except eslint), default to Electron 1.6.6 (#341) 2017-04-18 17:30:54 -04:00
Goh Jia Hao f9bf66caa5 Increase timeout for test
It takes some time for electron-packager to download electron
2016-05-26 17:12:23 +08:00
Jia Hao 26cfb1a86f Add test for connection error 2016-03-25 20:10:56 +08:00
Jia Hao d2ed86e62c Add test for infer user agent 2016-03-25 19:29:33 +08:00
Jia Hao 34a5a52a28 Rename 'pngToIcns to convertToIcns' 2016-03-10 15:50:45 +08:00
Jia Hao c8e650d061 Increase timeout for test case 2016-01-29 14:46:31 +08:00
Jia Hao ce8e762ac9 Put files in separate directories 2016-01-29 14:09:36 +08:00
Jia Hao bf2d5a2929 Cleanup 2016-01-29 13:39:31 +08:00
Jia Hao a9c294b4b6 Fix wrong parameter for test options 2016-01-29 13:34:53 +08:00
Jia Hao 51acbaaa9c Cleanup options.js, rename `--app-name` to `--name` 2016-01-29 11:37:54 +08:00
Jia Hao c852dc088f Use longer timeout for tests 2016-01-28 23:58:25 +08:00
Jia Hao 30fd51fc85 Fix test for non darwin platforms 2016-01-28 23:10:15 +08:00
Jia Hao d6f6bfdfbf Cleanup and skip png conversion test if not OSX 2016-01-28 22:43:43 +08:00
Jia Hao e0bee65cfc Fix problem with async each and creation of temporary directories 2016-01-28 22:39:13 +08:00
Jia Hao 1174cbc28c Cleanup 2016-01-28 11:47:40 +08:00
Jia Hao 5475c6e968 Add build step to infer and convert pngs to icns 2016-01-28 10:00:28 +08:00
Jia Hao d38912ab36 Disable test for app name check after sanitizing app name on linux 2016-01-27 10:24:24 +08:00
Jia Hao dbd660b78f Add script to convert png to icns on osx 2016-01-27 10:22:22 +08:00
Jia Hao 68a5f46798 Make main test try multiple platforms 2016-01-25 01:31:11 +08:00
Jia Hao 0fece8dfb7 Add globals for mocha linting and fix code style errors 2016-01-25 01:14:25 +08:00
Jia Hao cb07b13cad Add mocha basic test to check if nativefier.json is set properly 2016-01-25 01:10:28 +08:00