Skip to content

Commit

Permalink
Fix tests on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Nov 7, 2019
1 parent 5d5773e commit 9fc11e0
Show file tree
Hide file tree
Showing 17 changed files with 11 additions and 7 deletions.
Binary file modified packages/build/tests/config/cwd/snapshots/tests.js.snap
Binary file not shown.
Binary file modified packages/build/tests/config/load/snapshots/tests.js.snap
Binary file not shown.
Binary file modified packages/build/tests/config/normalize/snapshots/tests.js.snap
Binary file not shown.
Binary file modified packages/build/tests/config/template/snapshots/tests.js.snap
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/build/tests/config/validate/snapshots/tests.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Generated by [AVA](https://ava.li).
Plugins have been changed from an object to an array.␊
Please update your plugins property accordingly.␊
plugins: - type: npm-module-path␊
plugins: - type: npm-module-path␊
config: fizz: pop␊
- type: /file/path␊
config: foo: bar␊
Expand Down
Binary file modified packages/build/tests/config/validate/snapshots/tests.js.snap
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/build/tests/core/cli/snapshots/tests.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Generated by [AVA](https://ava.li).
NETLIFY_BUILD_. For example the environment variable NETLIFY_BUILD_DRY=true can␊
be used instead of the CLI flag --dry.␊
Options: --help Show help [boolean]␊
Options: --help Show help [boolean]␊
--version Show version number [boolean]␊
--config Path to the configuration file.␊
Defaults to any netlify.yml, netlify.toml, netlify.json or␊
Expand Down
Binary file modified packages/build/tests/core/cli/snapshots/tests.js.snap
Binary file not shown.
Binary file modified packages/build/tests/core/dry/snapshots/tests.js.snap
Binary file not shown.
Binary file modified packages/build/tests/core/error/snapshots/tests.js.snap
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/build/tests/helpers/normalize.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const NORMALIZE_REGEXPS = [
[/{\n\s+/gm, '{ '],
[/\n}/gm, ' }'],
[/,\n\s+/gm, ', '],
[/:\n\s+/gm, ': '],
[/:\n\s+(?!-)/gm, ': '],
// Semantic versions
[/\d+\.\d+\.\d+/, '1.0.0'],
// npm install logs
Expand Down
Binary file modified packages/build/tests/plugins/config/snapshots/tests.js.snap
Binary file not shown.
Binary file modified packages/build/tests/plugins/constants/snapshots/tests.js.snap
Binary file not shown.
Binary file modified packages/build/tests/plugins/duplicate/snapshots/tests.js.snap
Binary file not shown.
12 changes: 8 additions & 4 deletions packages/build/tests/plugins/functions/snapshots/tests.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ Generated by [AVA](https://ava.li).
└───────────────────────────────────────────────────────────────────────────┘␊
Zipping functions␊
Functions bundled in "/file/path": - test.zip␊
Functions bundled in "/file/path":␊
- test.zip␊
√ @netlify/plugin-functions-core.functionsBuild completed in 1ms␊
Expand Down Expand Up @@ -95,7 +96,8 @@ Generated by [AVA](https://ava.li).
└───────────────────────────────────────────────────────────────────────────┘␊
Zipping functions␊
Functions bundled in "/file/path": - test.zip␊
Functions bundled in "/file/path":␊
- test.zip␊
√ @netlify/plugin-functions-core.functionsBuild completed in 1ms␊
Expand Down Expand Up @@ -201,7 +203,8 @@ Generated by [AVA](https://ava.li).
└───────────────────────────────────────────────────────────────────────────┘␊
Zipping functions␊
Functions bundled in "/file/path": - test.zip␊
Functions bundled in "/file/path":␊
- test.zip␊
√ @netlify/plugin-functions-core.functionsBuild completed in 1ms␊
Expand Down Expand Up @@ -303,7 +306,8 @@ Generated by [AVA](https://ava.li).
└───────────────────────────────────────────────────────────────────────────┘␊
Zipping functions␊
Functions bundled in "/file/path": - test.zip␊
Functions bundled in "/file/path":␊
- test.zip␊
√ @netlify/plugin-functions-core.functionsBuild completed in 1ms␊
Expand Down
Binary file modified packages/build/tests/plugins/functions/snapshots/tests.js.snap
Binary file not shown.
Binary file modified packages/build/tests/plugins/load/snapshots/tests.js.snap
Binary file not shown.

0 comments on commit 9fc11e0

Please sign in to comment.