summaryrefslogtreecommitdiff
path: root/history/modules/__tests__/TestSequences/InitialLocationNoKey.js
diff options
context:
space:
mode:
Diffstat (limited to 'history/modules/__tests__/TestSequences/InitialLocationNoKey.js')
-rw-r--r--history/modules/__tests__/TestSequences/InitialLocationNoKey.js13
1 files changed, 13 insertions, 0 deletions
diff --git a/history/modules/__tests__/TestSequences/InitialLocationNoKey.js b/history/modules/__tests__/TestSequences/InitialLocationNoKey.js
new file mode 100644
index 0000000..8c79d34
--- /dev/null
+++ b/history/modules/__tests__/TestSequences/InitialLocationNoKey.js
@@ -0,0 +1,13 @@
+import expect from 'expect';
+
+import execSteps from './execSteps.js';
+
+export default function(history, done) {
+ const steps = [
+ location => {
+ expect(location.key).toBeFalsy();
+ }
+ ];
+
+ execSteps(steps, history, done);
+}