mirror of
https://github.com/misenhower/splatoon3.ink.git
synced 2026-10-03 04:16:44 -05:00
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.
13 lines
404 B
JavaScript
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();
|
|
});
|
|
});
|