blob: d8f8941d0f2bac73d1b73806fa2ed2a40c2b25d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
"use strict";
test("basic functionality", () => {
expect(isStrictMode()).toBeTrue();
(function () {
expect(isStrictMode()).toBeTrue();
})();
(() => {
expect(isStrictMode()).toBeTrue();
})();
(() => {
"use strict";
expect(isStrictMode()).toBeTrue();
})();
});
|