mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-25 22:08:59 +00:00
18 lines
323 B
JavaScript
18 lines
323 B
JavaScript
"use strict";
|
|
|
|
test("basic functionality", () => {
|
|
expect(isStrictMode()).toBeTrue();
|
|
|
|
(function () {
|
|
expect(isStrictMode()).toBeTrue();
|
|
})();
|
|
|
|
(() => {
|
|
expect(isStrictMode()).toBeTrue();
|
|
})();
|
|
|
|
(() => {
|
|
"use strict";
|
|
expect(isStrictMode()).toBeTrue();
|
|
})();
|
|
});
|