From 3f8486547ada75fcb7730ef1e03ca482ad0cdb78 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Wed, 3 Jun 2015 10:23:54 -0700 Subject: [PATCH] add(specs): Empty folders and node_modules in spec fixture to fix specs --- .gitignore | 2 ++ internal_packages/ui-dark/styles/ui-variables.less | 0 internal_packages/ui-light/styles/ui-variables.less | 0 .../node_modules/native-module/build/Release/native.node | 0 .../node_modules/native-module/main.js | 1 + .../node_modules/native-module/package.json | 4 ++++ 6 files changed, 7 insertions(+) create mode 100644 internal_packages/ui-dark/styles/ui-variables.less create mode 100644 internal_packages/ui-light/styles/ui-variables.less create mode 100644 spec-nylas/fixtures/packages/package-with-incompatible-native-module/node_modules/native-module/build/Release/native.node create mode 100644 spec-nylas/fixtures/packages/package-with-incompatible-native-module/node_modules/native-module/main.js create mode 100644 spec-nylas/fixtures/packages/package-with-incompatible-native-module/node_modules/native-module/package.json diff --git a/.gitignore b/.gitignore index 17e41634f..a606c1c0a 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,5 @@ docs/output docs/includes spec/fixtures/evil-files/ yoursway-create-dmg + +!spec-nylas/fixtures/packages/package-with-incompatible-native-module/node_modules \ No newline at end of file diff --git a/internal_packages/ui-dark/styles/ui-variables.less b/internal_packages/ui-dark/styles/ui-variables.less new file mode 100644 index 000000000..e69de29bb diff --git a/internal_packages/ui-light/styles/ui-variables.less b/internal_packages/ui-light/styles/ui-variables.less new file mode 100644 index 000000000..e69de29bb diff --git a/spec-nylas/fixtures/packages/package-with-incompatible-native-module/node_modules/native-module/build/Release/native.node b/spec-nylas/fixtures/packages/package-with-incompatible-native-module/node_modules/native-module/build/Release/native.node new file mode 100644 index 000000000..e69de29bb diff --git a/spec-nylas/fixtures/packages/package-with-incompatible-native-module/node_modules/native-module/main.js b/spec-nylas/fixtures/packages/package-with-incompatible-native-module/node_modules/native-module/main.js new file mode 100644 index 000000000..97f5c264e --- /dev/null +++ b/spec-nylas/fixtures/packages/package-with-incompatible-native-module/node_modules/native-module/main.js @@ -0,0 +1 @@ +throw new Error("this simulates a native module's failure to load") diff --git a/spec-nylas/fixtures/packages/package-with-incompatible-native-module/node_modules/native-module/package.json b/spec-nylas/fixtures/packages/package-with-incompatible-native-module/node_modules/native-module/package.json new file mode 100644 index 000000000..cac262cba --- /dev/null +++ b/spec-nylas/fixtures/packages/package-with-incompatible-native-module/node_modules/native-module/package.json @@ -0,0 +1,4 @@ +{ + "name": "native-module", + "main": "./main.js" +}