diff --git a/tests/end-to-end.test.js b/tests/end-to-end.test.js
new file mode 100644
index 0000000..0f51365
--- /dev/null
+++ b/tests/end-to-end.test.js
@@ -0,0 +1,46 @@
+import test from 'ava';
+import fs from 'fs';
+
+test.before((t) => {
+ const { exec } = require('child_process');
+ exec('gulp', (err, stdout, stderr) => {
+ if (err) {
+ console.error('Failed to run gulp', err);
+ }
+ });
+});
+
+test('dark signature output', async (t) => {
+ const expected = fs.readFileSync('./tests/sample/dark/signature-dark.html');
+ const built = fs.readFileSync('./dist/dark/signature-dark.html');
+
+ t.deepEqual(expected, built);
+});
+
+test('dark signature reply output', async (t) => {
+ const expected = fs.readFileSync('./tests/sample/dark/signature-reply-dark.html');
+ const built = fs.readFileSync('./dist/dark/signature-reply-dark.html');
+
+ t.deepEqual(expected, built);
+});
+
+test('light signature output', async (t) => {
+ const expected = fs.readFileSync('./tests/sample/light/signature-light.html');
+ const built = fs.readFileSync('./dist/light/signature-light.html');
+
+ t.deepEqual(expected, built);
+});
+
+test('light signature reply output', async (t) => {
+ const expected = fs.readFileSync('./tests/sample/light/signature-reply-light.html');
+ const built = fs.readFileSync('./dist/light/signature-reply-light.html');
+
+ t.deepEqual(expected, built);
+});
+
+test('light full mail output', async (t) => {
+ const expected = fs.readFileSync('./tests/sample/light/full-mail-light.html');
+ const built = fs.readFileSync('./dist/light/full-mail-light.html');
+
+ t.deepEqual(expected, built);
+});
diff --git a/tests/sample/dark/signature-dark.html b/tests/sample/dark/signature-dark.html
new file mode 100644
index 0000000..78d35fd
--- /dev/null
+++ b/tests/sample/dark/signature-dark.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tests/sample/dark/signature-reply-dark.html b/tests/sample/dark/signature-reply-dark.html
new file mode 100644
index 0000000..3df3ba9
--- /dev/null
+++ b/tests/sample/dark/signature-reply-dark.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tests/sample/light/full-mail-light.html b/tests/sample/light/full-mail-light.html
new file mode 100644
index 0000000..ea9094e
--- /dev/null
+++ b/tests/sample/light/full-mail-light.html
@@ -0,0 +1 @@
+| Hi there, | Thanks for writing up this email. We are delighted to reply with a responsive template. | | |
|
\ No newline at end of file
diff --git a/tests/sample/light/signature-light.html b/tests/sample/light/signature-light.html
new file mode 100644
index 0000000..974835c
--- /dev/null
+++ b/tests/sample/light/signature-light.html
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/tests/sample/light/signature-reply-light.html b/tests/sample/light/signature-reply-light.html
new file mode 100644
index 0000000..39ea863
--- /dev/null
+++ b/tests/sample/light/signature-reply-light.html
@@ -0,0 +1 @@
+
\ No newline at end of file