We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3279191 commit 51cc5a2Copy full SHA for 51cc5a2
tests/engine-version.test.js
@@ -0,0 +1,11 @@
1
+import { describe, it, expect } from 'vitest';
2
+import { Engine } from '../src/core/engine.js';
3
+import pkg from '../package.json';
4
+
5
+describe('Engine version', () => {
6
+ it('exposes VERSION and REVISION matching package version', () => {
7
+ expect(typeof Engine.VERSION).toBe('string');
8
+ expect(Engine.VERSION).toBe(pkg.version);
9
+ expect(Engine.REVISION).toBe(Engine.VERSION);
10
+ });
11
+});
0 commit comments