-
Notifications
You must be signed in to change notification settings - Fork 3.3k
/
Copy path6_uncaught_spec_errors_spec.coffee
70 lines (59 loc) · 1.45 KB
/
6_uncaught_spec_errors_spec.coffee
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
e2e = require("../support/helpers/e2e")
describe "e2e uncaught errors", ->
e2e.setup()
e2e.it "failing1", {
spec: "uncaught_synchronous_before_tests_parsed.coffee"
snapshot: true
expectedExitCode: 1
}
e2e.it "failing2", {
spec: "uncaught_synchronous_during_hook_spec.coffee"
snapshot: true
expectedExitCode: 1
}
e2e.it "failing3", {
spec: "uncaught_during_test_spec.coffee"
snapshot: true
expectedExitCode: 1
}
e2e.it "failing4", {
spec: "uncaught_during_hook_spec.coffee"
snapshot: true
expectedExitCode: 1
}
it "failing5", ->
e2e.exec(@, {
spec: "caught_async_sync_test_spec.coffee"
snapshot: true
expectedExitCode: 4
})
it "failing6", ->
e2e.exec(@, {
spec: "uncaught_missing_suite_callback.js"
snapshot: true
expectedExitCode: 1
})
it "failing7", ->
e2e.exec(@, {
spec: "uncaught_missing_suite_callback_empty_suite.js"
snapshot: true
expectedExitCode: 1
})
it "failing8", ->
e2e.exec(@, {
spec: "uncaught_missing_suite_callback_empty_suite.js"
snapshot: true
expectedExitCode: 1
})
it "failing9", ->
e2e.exec(@, {
spec: "uncaught_missing_suite_callback_type_error.js"
snapshot: true
expectedExitCode: 1
})
it "failing9", ->
e2e.exec(@, {
spec: "uncaught_missing_suite_callback_type_error.js"
snapshot: true
expectedExitCode: 1
})