This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
expect.extend({ | |
toBeISODate(received) { | |
// This regexp checks for formatting | |
if ( | |
!/\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}.\d{3}Z/.test(received) | |
) { | |
return { | |
pass: false, | |
message: `Expected ${received} to be a valid ISO date string`, | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0"?> | |
<root> | |
<devicevendordef> | |
<vendorname>Microsoft</vendorname> | |
<vendorid>0x045e</vendorid> | |
</devicevendordef> | |
<deviceproductdef> | |
<productname>SurfaceErgonomic</productname> | |
<productid>0x0817</productid> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Helper; | |
// Select2 helpers for the jQuery based replacement for select boxes. | |
// See: http://select2.github.io/select2 | |
// Author: Tortue Torche <[email protected]> | |
// License: MIT | |
// | |
// Installation: | |
// * Put this file in your 'tests/_support/Helper' directory |