Monica Kozbial
2c83652733
Add missing whitespace to test files ( #5031 )
...
* Add missing spaces
* undo incorrect replaces in utils tests
2021-07-12 15:11:33 -07:00
Beka Westberg
75f118b4f9
Refactor interpolate_ into multiple functions & remove direct new Field call ( #4585 )
...
* Refactor interpolation
* Added docs
* Add tests
* Add test for dummy input after field not prefixed with field_
* Fix typings
* Pr comments
2021-01-22 12:44:50 -08:00
Monica Kozbial
2e92123314
Adding async cleanup to tests ( #4103 )
...
* Adding setup and teardown to more mocha tests.
* Update workspace dispose cleanup calls.
2020-08-05 16:00:00 -07:00
alschmiedt
a23d2fb9d0
Remove assertArrayEquals ( #3951 )
2020-06-10 10:25:59 -07:00
Monica Kozbial
0adf7efd5f
Converting jsunit asserts to chai. ( #3831 )
...
* Converting jsunit asserts to chai.
* Move jsunit functions to test_utilities.
* Adding eslint exception for helper method.
2020-04-17 16:08:46 -07:00
Monica Kozbial
b1b2af2a48
Converting utils tests to mocha and removing duplicates. ( #3813 )
...
* Converting utils tests to mocha and removing duplicates.
* Adding eslint exception for helper function.
* Splitting tokenizeInterpolation into chunks.
2020-04-14 13:21:48 -07:00
Neil Fraser
4e2f8e6e02
Use SPDX licences.
...
This is a followup to #3127 .
At the time, SPDX licenses were pending approval by Google.
2020-02-11 13:27:20 -08:00
Neil Fraser
b46a4fe286
Bring our license format up to date ( #3127 )
...
* Google changed from an Inc to an LLC.
This happened back in 2017 but we didn’t notice. Officially we should update files from Inc to LLC when they are changed as part of regular edits, but this is a nightmare to remember for the next decade.
* Remove project description/titles from licenses
This is no longer part of Google’s header requirements. Our existing descriptions were useless (“Visual Blocks Editor”) or grossly obselete (“Visual Blocks Language”).
* License no longer requires URL.
* Fix license regexps.
2019-10-02 14:46:56 -07:00
Neil Fraser
1905531824
Fix Mocha tests.
2019-06-07 10:32:57 -07:00
Rachel Fenichel
089c30baa1
Add eslintrc to mocha directory
2019-01-09 13:31:07 -08:00
Rachel Fenichel
0ec471332b
Delete commented-out code
2019-01-08 11:44:15 -08:00
Rachel Fenichel
e27f58ada7
Add jsunit->chai assert converters, and block tests
2019-01-08 11:30:54 -08:00
Rachel Fenichel
376bed8c46
First pass at creating mocha tests
2019-01-08 11:30:54 -08:00