Files
splatoon3.ink/app/splatnet/NsoClient.test.mjs
Matt Isenhower a142a4f3b5
Some checks failed
Deploy / deploy-frontend (push) Has been cancelled
Deploy / deploy-backend (push) Has been cancelled
Build frontend / build (22.x) (push) Has been cancelled
Lint / lint (push) Has been cancelled
Tests / test (22.x) (push) Has been cancelled
Preserve nxapi prerelease dependency
The prerelease caret range selected stable 1.6.1, which does not export setClientAuthentication. Pin the current prerelease and cover the native ESM import used by the SplatNet command.
2026-08-30 18:34:14 -07:00

13 lines
404 B
JavaScript

import { execFileSync } from 'node:child_process';
import { describe, expect, it } from 'vitest';
describe('NsoClient', () => {
it('loads the nxapi authentication integration in Node', () => {
expect(() => execFileSync(process.execPath, [
'--input-type=module',
'--eval',
'await import(\'./app/splatnet/NsoClient.mjs\')',
], { cwd: process.cwd() })).not.toThrow();
});
});